Skip to content
This repository has been archived by the owner on Apr 15, 2019. It is now read-only.

Commit

Permalink
Merge pull request Ahtenus#40 from Remanent/patch-1
Browse files Browse the repository at this point in the history
This is an edit to the minecraft-init version command, which pulls from ...
  • Loading branch information
Ahtenus committed Feb 17, 2012
2 parents 09ffafb + 30380c1 commit a8a0320
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion minecraft
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,8 @@ case "$1" in
fi
;;
version)
echo Craftbukkit version `awk '/Craftbukkit/ {sub(/\)/, ""); print $12}' $MCPATH/server.log`
as_user "screen -p 0 -S $SCREEN -X eval 'stuff \"version\"\015'"
tac $MCPATH/server.log | grep -m 1 "This server is running"
;;
links)
check_links
Expand Down

0 comments on commit a8a0320

Please sign in to comment.