Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

exit from the subshell with error when suspend fails

derp.
  • Loading branch information...
commit 9532aaae3d829e9148a6cf81a7f8471fcc3b8aef 1 parent d10b175
@falconindy falconindy authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  wakeup.c
View
2  wakeup.c
@@ -70,7 +70,7 @@ do_suspend(const char *command)
execlp(command, command, NULL);
fprintf(stderr, "error: failed to execute %s: %s\n", command,
strerror(errno));
- _exit(0);
+ _exit(127);
}
while(wait(&status) != pid);
Please sign in to comment.
Something went wrong with that request. Please try again.