]> git.armaanb.net Git - opendoas.git/commitdiff
Fix horrible mistake
authorDuncaen <mail@duncano.de>
Sun, 8 May 2016 18:03:04 +0000 (20:03 +0200)
committerDuncaen <mail@duncano.de>
Sun, 8 May 2016 18:12:06 +0000 (20:12 +0200)
doas_pam.c

index 5c6fb288b9e36d357ba47d44cc3b3f77bce28d2c..473e1fde525829863109bf85722ffe6dee1aa051 100644 (file)
@@ -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;
                }
        }