mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Escape this before running.
This commit is contained in:
parent
3bbc23b80d
commit
cbf16c3020
@ -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) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user