Browse files

fixed closing terminal when running bat file without closing terminal…

…, and pausing only on error
  • Loading branch information...
1 parent bbc4102 commit a0a54a7a8c4c435378cff9045e108d960937cbe8 @stuzart stuzart committed Jul 18, 2012
Showing with 3 additions and 2 deletions.
  1. +3 −2 etc/rightfield.bat
View
5 etc/rightfield.bat
@@ -1,6 +1,7 @@
java -Xmx500M -jar rightfield-bin.jar %*
@echo off
if errorlevel = 1 goto Error
-
+goto End
:Error
-pause
+pause
+:End

0 comments on commit a0a54a7

Please sign in to comment.