aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDuncaen <mail@duncano.de>2016-05-08 20:03:04 +0200
committerDuncaen <mail@duncano.de>2016-05-08 20:12:06 +0200
commit9972a8ee4233ba9e48f70b7d21dbf1fb395f136e (patch)
treea95ec4a7b1a109ee473e29131ddc6f224467960f
parent09843fcf8876df1ab1728e9c2c49de4836b25626 (diff)
downloadopendoas-9972a8ee4233ba9e48f70b7d21dbf1fb395f136e.tar.gz
Fix horrible mistake
-rw-r--r--doas_pam.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/doas_pam.c b/doas_pam.c
index 5c6fb28..473e1fd 100644
--- a/doas_pam.c
+++ b/doas_pam.c
@@ -159,7 +159,7 @@ doas_pam(char *name, int interactive, int nopass)
ret = pam_end(pamh, ret);
if (ret != PAM_SUCCESS)
errx(1, "pam_end(): %s\n", pam_strerror(pamh, ret));
- return 1;
+ return 0;
}
}