mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Oops. My last commit included a bug that would make "su -m" always
use /bin/sh. Fix this.
This commit is contained in:
parent
6f71a9531a
commit
b90e600892
1 changed files with 0 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue