Make sure all ifs are braced

This commit is contained in:
Alex Young
2012-06-11 14:34:17 +01:00
parent 25fc0969cf
commit 710d8254d4
13 changed files with 119 additions and 104 deletions

View File

@@ -41,8 +41,9 @@ void do_remote_command(char* command, char* socket_name, int argc, char** argv)
);
exit_status = atoi(response);
if (exit_status > 0)
if (exit_status > 0) {
fprintf(stderr, "%s\n", strchr(response, ':')+2);
}
exit(atoi(response));