mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Use full path to nohup
This commit is contained in:
parent
fba1804f83
commit
77daff1863
@ -1089,7 +1089,7 @@ function mwexec_bg($command, $clearsigmask = false) {
|
||||
$oldset = array();
|
||||
pcntl_sigprocmask(SIG_SETMASK, array(), $oldset);
|
||||
}
|
||||
$_gb = exec("nohup $command > /dev/null 2>&1 &");
|
||||
$_gb = exec("/usr/bin/nohup $command > /dev/null 2>&1 &");
|
||||
if ($clearsigmask) {
|
||||
pcntl_sigprocmask(SIG_SETMASK, $oldset);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user