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