diff options
Diffstat (limited to 'shell/ash.c')
-rw-r--r-- | shell/ash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/ash.c b/shell/ash.c index 79fa3adba..35dbb2f28 100644 --- a/shell/ash.c +++ b/shell/ash.c | |||
@@ -14698,7 +14698,7 @@ int ash_main(int argc UNUSED_PARAM, char **argv) | |||
14698 | // ^^ not necessary since now we special-case fd 0 | 14698 | // ^^ not necessary since now we special-case fd 0 |
14699 | // in save_fd_on_redirect() | 14699 | // in save_fd_on_redirect() |
14700 | 14700 | ||
14701 | lineno = 1; | 14701 | lineno = 0; // bash compat |
14702 | // dash: evalstring(minusc, sflag ? 0 : EV_EXIT); | 14702 | // dash: evalstring(minusc, sflag ? 0 : EV_EXIT); |
14703 | // The above makes | 14703 | // The above makes |
14704 | // ash -sc 'echo $-' | 14704 | // ash -sc 'echo $-' |