diff --git a/script/local.py b/script/local.py index 0eb631a..c540bf2 100755 --- a/script/local.py +++ b/script/local.py @@ -315,7 +315,8 @@ def is_camtool_running(): def kill_camtool(): ret = exec_cmd("killall -9 " + CAMTOOL_SERVER_SCRIPT) - ret += exec_cmd('pkill -f " \-p ' + _get_camtool_port()) + ret += exec_cmd('pkill -f " \-p ' + _get_camtool_port() + '"') + return ret def _run_camtool(): try: