Modification des codes de sortie pour les erreurs dans le système de build
This commit is contained in:
@@ -59,12 +59,12 @@ public class CommandExecutor {
|
||||
|
||||
if (exitCode != 0) {
|
||||
System.err.println("bake: *** [" + rule.getName() + "] Error " + exitCode);
|
||||
System.exit(exitCode);
|
||||
System.exit(2);
|
||||
}
|
||||
|
||||
} catch (IOException | InterruptedException e) {
|
||||
e.printStackTrace();
|
||||
System.exit(1);
|
||||
System.exit(2);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user