diff options
-rw-r--r-- | src/rc/rc.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/rc/rc.c b/src/rc/rc.c index fba3cc09..8a000bdb 100644 --- a/src/rc/rc.c +++ b/src/rc/rc.c @@ -578,6 +578,9 @@ int main (int argc, char **argv) /* Run our built in applets. If we ran one, we don't return. */ run_applets (argc, argv); + argc--; + argv++; + /* Change dir to / to ensure all scripts don't use stuff in pwd */ chdir ("/"); |