diff options
author | Jeff Epler <jepler@unpythonic.net> | 2012-04-06 14:03:10 -0500 |
---|---|---|
committer | Jeff Epler <jepler@unpythonic.net> | 2012-04-06 14:03:10 -0500 |
commit | 291fc50aa62774f2a2dbfce00fb17de152bd9f6b (patch) | |
tree | 704102d1e6d4eddaf52d415dee5e03ea2d8f1ff0 | |
parent | 663de9902da473e3baf343b831c4bfd683a65f93 (diff) | |
download | linuxcnc-291fc50aa62774f2a2dbfce00fb17de152bd9f6b.tar.gz linuxcnc-291fc50aa62774f2a2dbfce00fb17de152bd9f6b.zip |
module_helper: fix compile error I introduced
-rw-r--r-- | src/module_helper/module_helper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/module_helper/module_helper.c b/src/module_helper/module_helper.c index 972210230..09a90b2b2 100644 --- a/src/module_helper/module_helper.c +++ b/src/module_helper/module_helper.c @@ -55,7 +55,7 @@ void error(int argc, char **argv) { if(res != 0) { perror("setuid"); - return 1; + exit(1); } fprintf(stderr, "%s: Invalid usage with args:", argv[0]); |