Escape this before running.

This commit is contained in:
jim-p 2014-06-06 08:26:26 -04:00
parent 3bbc23b80d
commit cbf16c3020

View File

@ -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) {