Improved development build handling of MistIn processes, tweaked verbosity some.

This commit is contained in:
Thulinma 2014-04-12 08:04:55 +02:00
parent 5ece1d7471
commit 016dcf36e0

View file

@ -49,7 +49,11 @@ int main(int argc, char * argv[]) {
sem_close(waiting); sem_close(waiting);
//if the exit was clean, don't restart it //if the exit was clean, don't restart it
if (WIFEXITED(status) && (WEXITSTATUS(status) == 0)){ 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; break;
} }
} }