mirror of
https://github.com/opnsense/src.git
synced 2026-02-19 02:30:08 -05:00
sh(1): -l is only valid in cli option not as set -l
(cherry picked from commit 0df81552d74d2c188a9323ffe18f6ebe799b86f9)
This commit is contained in:
parent
c062d3ec60
commit
35a6770dde
1 changed files with 1 additions and 1 deletions
|
|
@ -200,7 +200,7 @@ options(int cmdline)
|
|||
if (q == NULL || minusc != NULL)
|
||||
error("Bad -c option");
|
||||
minusc = q;
|
||||
} else if (c == 'l') {
|
||||
} else if (c == 'l' && cmdline) {
|
||||
login = 1;
|
||||
} else if (c == 'o') {
|
||||
minus_o(*argptr, val);
|
||||
|
|
|
|||
Loading…
Reference in a new issue