From 645103db1133c1a2372f3b82797def5887a6dc0b Mon Sep 17 00:00:00 2001 From: thomascube Date: Wed, 1 Jul 2009 14:15:14 +0000 Subject: [PATCH] Use regular return values --- plugins/password/drivers/chgsaslpasswd.c | 8 +++++--- 1 file 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; }