summaryrefslogtreecommitdiffstats
path: root/etc/inc/util.inc
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2013-02-13 18:18:52 +0000
committerErmal <eri@pfsense.org>2013-02-13 18:19:19 +0000
commit77daff1863acc4ef8055b140f0b94e9bfecf8665 (patch)
treeac80e856040e8e76f28119e5bcedb6d22eb460bf /etc/inc/util.inc
parentfba1804f83ee771f82465dfced1497e352d97b30 (diff)
downloadpfsense-77daff1863acc4ef8055b140f0b94e9bfecf8665.zip
pfsense-77daff1863acc4ef8055b140f0b94e9bfecf8665.tar.gz
Use full path to nohup
Diffstat (limited to 'etc/inc/util.inc')
-rw-r--r--etc/inc/util.inc2
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);
}
OpenPOWER on IntegriCloud