mirror of
https://github.com/sheumann/hush.git
synced 2024-12-21 23:29:34 +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