diff options
Diffstat (limited to 'plugins/password/drivers/chgsaslpasswd.c')
-rw-r--r-- | plugins/password/drivers/chgsaslpasswd.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/plugins/password/drivers/chgsaslpasswd.c b/plugins/password/drivers/chgsaslpasswd.c index 17e20c67f..bcdcb2e0d 100644 --- a/plugins/password/drivers/chgsaslpasswd.c +++ b/plugins/password/drivers/chgsaslpasswd.c @@ -8,7 +8,7 @@ /* INSTALLING: gcc -o chgsaslpasswd chgsaslpasswd.c - chown root.apache chgsaslpasswd + chown cyrus.apache chgsaslpasswd strip chgsaslpasswd chmod 4550 chgsaslpasswd */ @@ -21,7 +21,9 @@ main(int argc, char *argv[]) rc = execvp(CMD, argv); if ((rc != 0) || (cc != 0)) { - fprintf(stderr,"__ %s: failed %d %d\n",argv[0],rc,cc); - exit(1); + fprintf(stderr, "__ %s: failed %d %d\n", argv[0], rc, cc); + return 1; } + + return 0; } |