mirror of
https://github.com/Control-D-Inc/ctrld.git
synced 2026-07-04 01:07:49 +02:00
internal/router: do not exit when stopping successfully on freshtomato
Otherwise, "restart" will be broken because "start" won't never be called.
This commit is contained in:
committed by
Cuong Manh Le
parent
726a25a7ea
commit
25eae187db
@@ -229,7 +229,7 @@ stop() {
|
|||||||
if [ -f "$pid_file" ]; then
|
if [ -f "$pid_file" ]; then
|
||||||
rm "$pid_file"
|
rm "$pid_file"
|
||||||
fi
|
fi
|
||||||
exit 0
|
return 0
|
||||||
fi
|
fi
|
||||||
printf "."
|
printf "."
|
||||||
sleep 2
|
sleep 2
|
||||||
|
|||||||
Reference in New Issue
Block a user