=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/su/su.c,v retrieving revision 1.82 retrieving revision 1.83 diff -c -r1.82 -r1.83 *** src/usr.bin/su/su.c 2020/08/17 18:12:12 1.82 --- src/usr.bin/su/su.c 2020/10/30 16:23:57 1.83 *************** *** 1,4 **** ! /* $OpenBSD: su.c,v 1.82 2020/08/17 18:12:12 semarie Exp $ */ /* * Copyright (c) 1988 The Regents of the University of California. --- 1,4 ---- ! /* $OpenBSD: su.c,v 1.83 2020/10/30 16:23:57 millert Exp $ */ /* * Copyright (c) 1988 The Regents of the University of California. *************** *** 363,369 **** err(1, "pledge"); if (pwd->pw_uid && auth_approval(as, lc, pwd->pw_name, "su") == 0) ! auth_err(as, 1, "approval failure"); auth_close(as); execv(shell, np); --- 363,369 ---- err(1, "pledge"); if (pwd->pw_uid && auth_approval(as, lc, pwd->pw_name, "su") == 0) ! auth_errx(as, 1, "approval failure"); auth_close(as); execv(shell, np);