Fix rc changing runlevels after splitting out the applets.

This commit is contained in:
Roy Marples 2008-01-14 19:53:56 +00:00
parent 46294cba02
commit 7fe30026b3

View File

@ -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 ("/");