diff options
| author | Jilles Tjoelker <jilles@FreeBSD.org> | 2013-07-12 15:29:41 +0000 |
|---|---|---|
| committer | Jilles Tjoelker <jilles@FreeBSD.org> | 2013-07-12 15:29:41 +0000 |
| commit | fd7d6d8a294a66b8fc06b563d190c5a61ddc941e (patch) | |
| tree | cf889572ab9e60f57634f30de86f53f611365ca9 /bin | |
| parent | eeeb863ff0add3606d15100c443b26263f76f86b (diff) | |
Notes
Diffstat (limited to 'bin')
| -rw-r--r-- | bin/sh/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/sh/main.c b/bin/sh/main.c index ffe8a61670d2..0c496d06e7d6 100644 --- a/bin/sh/main.c +++ b/bin/sh/main.c @@ -170,8 +170,8 @@ state3: if (minusc) { evalstring(minusc, sflag ? 0 : EV_EXIT); } +state4: if (sflag || minusc == NULL) { -state4: /* XXX ??? - why isn't this before the "if" statement */ cmdloop(1); } exitshell(exitstatus); |
