typos, rearrange variables a bit

This commit is contained in:
neersighted 2012-03-01 17:03:33 -08:00
parent a1497996a9
commit 997efc6a24

View file

@ -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