comparison cli-main.c @ 1215:d058e15ea213

A few minor style fixes
author Matt Johnston <matt@ucc.asn.au>
date Tue, 15 Dec 2015 22:09:55 +0800
parents bf626d259eb1
children 3daff2072bd0
comparison
equal deleted inserted replaced
1214:61d3f56808a4 1215:d058e15ea213
162 dropbear_exit("Failed running proxy command"); 162 dropbear_exit("Failed running proxy command");
163 *sock_in = *sock_out = -1; 163 *sock_in = *sock_out = -1;
164 } 164 }
165 } 165 }
166 166
167 static void killchild(int signo) 167 static void killchild(int signo) {
168 {
169 kill_proxy_command(); 168 kill_proxy_command();
170 if (signo) 169 if (signo) {
171 _exit(1); 170 _exit(1);
171 }
172 exit(1); 172 exit(1);
173 } 173 }
174 #endif /* ENABLE_CLI_PROXYCMD */ 174 #endif /* ENABLE_CLI_PROXYCMD */