From 016dcf36e065ee78e3ccf0eb12849cc1cb456f2b Mon Sep 17 00:00:00 2001 From: Thulinma Date: Sat, 12 Apr 2014 08:04:55 +0200 Subject: [PATCH] Improved development build handling of MistIn processes, tweaked verbosity some. --- src/input/mist_in.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/input/mist_in.cpp b/src/input/mist_in.cpp index 6f087f36..562b0243 100644 --- a/src/input/mist_in.cpp +++ b/src/input/mist_in.cpp @@ -49,7 +49,11 @@ int main(int argc, char * argv[]) { sem_close(waiting); //if the exit was clean, don't restart it if (WIFEXITED(status) && (WEXITSTATUS(status) == 0)){ - DEBUG_MSG(DLVL_DEVEL, "Finished player succesfully"); + DEBUG_MSG(DLVL_MEDIUM, "Finished player succesfully"); + break; + } + if (DEBUG >= DLVL_DEVEL){ + DEBUG_MSG(DLVL_DEVEL, "Player exited with errors - stopping because this is a development build."); break; } }