summaryrefslogtreecommitdiffstats
path: root/src/etc
diff options
context:
space:
mode:
authordoktornotor <notordoktor@gmail.com>2015-11-18 00:35:33 +0100
committerStephen Beaver <sbeaver@netgate.com>2015-11-18 07:55:38 -0500
commit3459814a1aaef1283117a36d3a18775983049e26 (patch)
treef6301294d44709862b5ec8672b71f2daa1568eff /src/etc
parent9d8dacc238e1c3feeb557b8fca0f87269cd8b8ed (diff)
downloadpfsense-3459814a1aaef1283117a36d3a18775983049e26.zip
pfsense-3459814a1aaef1283117a36d3a18775983049e26.tar.gz
Use full path to executable in mwexec() call
Diffstat (limited to 'src/etc')
-rw-r--r--src/etc/inc/services.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/etc/inc/services.inc b/src/etc/inc/services.inc
index a198a35..27c0bcf 100644
--- a/src/etc/inc/services.inc
+++ b/src/etc/inc/services.inc
@@ -2619,7 +2619,7 @@ function upnp_action ($action) {
case "stop":
killbypid("{$g['varrun_path']}/miniupnpd.pid");
while ((int)exec("/bin/pgrep -a miniupnpd | wc -l") > 0) {
- mwexec('killall miniupnpd 2>/dev/null', true);
+ mwexec('/usr/bin/killall miniupnpd 2>/dev/null', true);
}
mwexec('/sbin/pfctl -aminiupnpd -Fr 2>&1 >/dev/null');
mwexec('/sbin/pfctl -aminiupnpd -Fn 2>&1 >/dev/null');
OpenPOWER on IntegriCloud