Modification des codes de sortie pour les erreurs dans le système de build

This commit is contained in:
2025-03-02 15:57:42 +01:00
parent 91484ff5cc
commit 8f79794ddc
4 changed files with 753 additions and 5 deletions

View File

@@ -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);
}
}
}