From 77daff1863acc4ef8055b140f0b94e9bfecf8665 Mon Sep 17 00:00:00 2001 From: Ermal Date: Wed, 13 Feb 2013 18:18:52 +0000 Subject: Use full path to nohup --- etc/inc/util.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'etc/inc/util.inc') 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); } -- cgit v1.1