diff options
author | markm <markm@FreeBSD.org> | 2004-06-15 20:23:02 +0000 |
---|---|---|
committer | markm <markm@FreeBSD.org> | 2004-06-15 20:23:02 +0000 |
commit | e7ed8bc0a817b9599d83960bd4f594d9988add13 (patch) | |
tree | 2b8bd2ed5ec205bcadd3f7102c6c8b1d82616bde /usr.bin/su/su.c | |
parent | 6e7aa9fe96e18be01b73fa5f884c902b19a68d2a (diff) | |
download | FreeBSD-src-e7ed8bc0a817b9599d83960bd4f594d9988add13.zip FreeBSD-src-e7ed8bc0a817b9599d83960bd4f594d9988add13.tar.gz |
Oops. My last commit included a bug that would make "su -m" always
use /bin/sh. Fix this.
Diffstat (limited to 'usr.bin/su/su.c')
-rw-r--r-- | usr.bin/su/su.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/usr.bin/su/su.c b/usr.bin/su/su.c index f085323..57122e2 100644 --- a/usr.bin/su/su.c +++ b/usr.bin/su/su.c @@ -290,8 +290,6 @@ main(int argc, char *argv[]) if (asme) { if (ruid != 0 && !chshell(pwd->pw_shell)) errx(1, "permission denied (shell)"); - shell = _PATH_BSHELL; - iscsh = NO; } else if (pwd->pw_shell && *pwd->pw_shell) { shell = pwd->pw_shell; |