diff options
Diffstat (limited to 'launchd/user_startx/launchd_startx.c')
-rw-r--r-- | launchd/user_startx/launchd_startx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/launchd/user_startx/launchd_startx.c b/launchd/user_startx/launchd_startx.c index cf93227..41d1511 100644 --- a/launchd/user_startx/launchd_startx.c +++ b/launchd/user_startx/launchd_startx.c @@ -43,7 +43,7 @@ int main(int argc, char **argv, char **envp) { pid_t child; int pstat; - if(argc < 2 || strcmp(argv[1], "--help")) { + if(argc < 2 || strcmp(argv[1], "--help") == 0) { fprintf(stderr, "Usage: %s prog [args...]\n", argv[0]); exit(EXIT_FAILURE); } |