Skip to content

Commit

Permalink
client: fixing error handling in parent
Browse files Browse the repository at this point in the history
  • Loading branch information
f0rb1dd3n committed May 31, 2018
1 parent 1ffa605 commit 53373d5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sbin/client.c
Original file line number Diff line number Diff line change
Expand Up @@ -715,9 +715,9 @@ int main(int argc, char **argv) {
if(action == GET_FILE) printf("%s Download %s -> %s\n", good, src_file, dst_dir);
if(action == PUT_FILE) printf("%s Upload %s -> %s\n", good, src_file, dst_dir);
if(cmd != NULL) printf("%s Run command: \"%s\"\n", good, cmd);

signal(SIGQUIT, sig_quit);
}

signal(SIGQUIT, sig_quit);

pid = fork();

Expand Down

0 comments on commit 53373d5

Please sign in to comment.