Commit e0670a06 authored by anozdrin/alik@alik's avatar anozdrin/alik@alik

Trivial fix: pid file must exist when kill_n_check.sh is started.

parent 1294e712
......@@ -49,7 +49,7 @@ if [ -z "$pid_path" ]; then
exit 0
fi
if [ $expected_result = 'killed' -a ! -r "$pid_path" ]; then
if [ ! -r "$pid_path" ]; then
echo "Error: PID file ($pid_path) does not exist."
exit 0
fi
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment