Merge branch 'master' of github.com:xorg62/wmfs
This commit is contained in:
commit
d983e65ff4
@ -105,7 +105,7 @@ spawn(const char *format, ...)
|
||||
return -1;
|
||||
}
|
||||
|
||||
if(!(sh = getenv("SHELL")))
|
||||
if(!(sh = getenv("SHELL")) || sh[0] != '/')
|
||||
sh = "/bin/sh";
|
||||
|
||||
if((pid = fork()) == 0)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user