mirror of
https://github.com/sheumann/hush.git
synced 2024-09-12 00:55:11 +00:00
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:
parent
b2804551a0
commit
d05981eaf1
@ -118,6 +118,6 @@ int switch_root_main(int argc, char *argv[])
|
||||
}
|
||||
|
||||
// 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]);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user