typos, rearrange variables a bit
This commit is contained in:
parent
a1497996a9
commit
997efc6a24
4
cloudbot
4
cloudbot
|
@ -87,7 +87,7 @@ processargs() {
|
||||||
;;
|
;;
|
||||||
stop)
|
stop)
|
||||||
if running; then
|
if running; then
|
||||||
echo "Stoppinging... ($backend)"
|
echo "Stopping... ($backend)"
|
||||||
stop
|
stop
|
||||||
else
|
else
|
||||||
echo "Cannot stop! Bot is not already running!"
|
echo "Cannot stop! Bot is not already running!"
|
||||||
|
@ -110,13 +110,13 @@ processargs() {
|
||||||
status
|
status
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
|
usage="./cloudbot {start|stop|restart|clear|status}"
|
||||||
echo $usage
|
echo $usage
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
||||||
main() {
|
main() {
|
||||||
usage="./cloudbot {start|stop|restart|clear|status}"
|
|
||||||
locatefiles
|
locatefiles
|
||||||
checkbackend
|
checkbackend
|
||||||
setcommands
|
setcommands
|
||||||
|
|
Reference in a new issue