Fix off by one error. (I know I had a reason for doing that, but I have _no_

idea what it was...)
This commit is contained in:
Rob Landley 2006-02-14 07:33:45 +00:00
parent b2804551a0
commit d05981eaf1

View File

@ -118,6 +118,6 @@ int switch_root_main(int argc, char *argv[])
} }
// Exec real init. (This is why we must be pid 1.) // Exec real init. (This is why we must be pid 1.)
execv(argv[optind],argv+optind+1); execv(argv[optind],argv+optind);
bb_error_msg_and_die("Bad init '%s'",argv[optind]); bb_error_msg_and_die("Bad init '%s'",argv[optind]);
} }