summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/main/java/org/spigotmc/builder/Builder.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/main/java/org/spigotmc/builder/Builder.java b/src/main/java/org/spigotmc/builder/Builder.java
index 3c2325f..fb31439 100644
--- a/src/main/java/org/spigotmc/builder/Builder.java
+++ b/src/main/java/org/spigotmc/builder/Builder.java
@@ -49,7 +49,7 @@ public class Builder
{
System.out.println( "Sorry, but Macintosh is not currently a supported platform for compilation at this time." );
System.out.println( "Please run this script on a Windows or Linux PC and then copy the jars to this computer." );
- return;
+ System.exit( 1 );
}
try
@@ -58,7 +58,7 @@ public class Builder
} catch ( Exception ex )
{
System.out.println( "You must run this jar through bash (msysgit)" );
- return;
+ System.exit( 1 );
}
try
@@ -273,6 +273,7 @@ public class Builder
{
System.err.println( "Error compiling Spigot, are you running this jar via msysgit?" );
ex.printStackTrace();
+ System.exit( 1 );
}
}