diff options
author | jim-p <jimp@pfsense.org> | 2014-06-06 08:26:26 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2014-06-06 08:26:26 -0400 |
commit | cbf16c3020be196a8d3798761bda0b545a6bca3d (patch) | |
tree | 40dea7e8d10d1f80b9eecd7114bbcd2365c764db /etc | |
parent | 3bbc23b80d5fe004c8eea6cf86987bd7330cfca4 (diff) | |
download | pfsense-cbf16c3020be196a8d3798761bda0b545a6bca3d.zip pfsense-cbf16c3020be196a8d3798761bda0b545a6bca3d.tar.gz |
Escape this before running.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/service-utils.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/service-utils.inc b/etc/inc/service-utils.inc index d52abd2..0e9009b 100644 --- a/etc/inc/service-utils.inc +++ b/etc/inc/service-utils.inc @@ -153,7 +153,7 @@ function stop_service($name) { } /* finally if we get here lets simply kill the service name */ if(is_process_running("{$name}")) - mwexec("/usr/bin/killall {$name}"); + mwexec("/usr/bin/killall " . escapeshellarg($name)); } function restart_service($name) { |