mirror of
https://github.com/Control-D-Inc/ctrld.git
synced 2026-02-03 22:18:39 +00: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
|
||||
rm "$pid_file"
|
||||
fi
|
||||
exit 0
|
||||
return 0
|
||||
fi
|
||||
printf "."
|
||||
sleep 2
|
||||
|
||||
Reference in New Issue
Block a user