summaryrefslogtreecommitdiff
path: root/plugins/password/drivers/chgsaslpasswd.c
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2009-07-01 14:15:14 +0000
committerthomascube <thomas@roundcube.net>2009-07-01 14:15:14 +0000
commit645103db1133c1a2372f3b82797def5887a6dc0b (patch)
tree382174d3fdb7bfe678acd27924b586e78b93f266 /plugins/password/drivers/chgsaslpasswd.c
parent8e9a55abd88256de03185a737fc25d6045533ace (diff)
Use regular return values
Diffstat (limited to 'plugins/password/drivers/chgsaslpasswd.c')
-rw-r--r--plugins/password/drivers/chgsaslpasswd.c8
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;
}