Implemented "server status" command.

This commit is contained in:
Marcus Whybrow 2012-05-24 04:33:57 +01:00
parent eb4a826dfe
commit 062b388ac9

5
msm
View File

@ -1134,6 +1134,11 @@ main() {
server_restart $id
;;
status)
if server_is_running $1; then
echo "Server \"${server_name[$id]}\" is running."
else
echo "Server \"${server_name[$id]}\" is stopped."
fi
;;
connected)
;;