diff options
author | Ermal <eri@pfsense.org> | 2013-02-13 18:18:52 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2013-02-13 18:19:19 +0000 |
commit | 77daff1863acc4ef8055b140f0b94e9bfecf8665 (patch) | |
tree | ac80e856040e8e76f28119e5bcedb6d22eb460bf /etc/inc/util.inc | |
parent | fba1804f83ee771f82465dfced1497e352d97b30 (diff) | |
download | pfsense-77daff1863acc4ef8055b140f0b94e9bfecf8665.zip pfsense-77daff1863acc4ef8055b140f0b94e9bfecf8665.tar.gz |
Use full path to nohup
Diffstat (limited to 'etc/inc/util.inc')
-rw-r--r-- | etc/inc/util.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/util.inc b/etc/inc/util.inc index 6286572..fb495f4 100644 --- a/etc/inc/util.inc +++ b/etc/inc/util.inc @@ -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); } |