Fixed timing bug, stopping .restart
This commit is contained in:
parent
6749bf8340
commit
f61cc28869
1
cloudbot
1
cloudbot
|
@ -96,6 +96,7 @@ processargs() {
|
||||||
if running; then
|
if running; then
|
||||||
echo "Restarting CloudBot... ($backend)"
|
echo "Restarting CloudBot... ($backend)"
|
||||||
stop
|
stop
|
||||||
|
sleep 3
|
||||||
start
|
start
|
||||||
else
|
else
|
||||||
echo "Cannot restart! Bot is not already running!"
|
echo "Cannot restart! Bot is not already running!"
|
||||||
|
|
Reference in a new issue