app/launch: set argv when launching shell
Signed-off-by: Ophestra Umiker <cat@ophivana.moe>
This commit is contained in:
parent
743b6afbbb
commit
5c3e7cf664
@ -60,6 +60,8 @@ func Early(printVersion bool) {
|
||||
fmt.Println("No command was specified and $SHELL was unset")
|
||||
os.Exit(1)
|
||||
}
|
||||
|
||||
argv = []string{p}
|
||||
}
|
||||
|
||||
if err := syscall.Exec(p, argv, os.Environ()); err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user