1
0
Fork 0

no more "Aborting ...\nPossible cause: Success"

This commit is contained in:
mfranz 2005-12-22 23:32:23 +00:00
parent faf91ae9e9
commit a67cb7d6fb

View file

@ -30,6 +30,7 @@
# include <signal.h>
#endif
#include <errno.h>
#include <stdlib.h>
#include <stdio.h>
@ -205,7 +206,8 @@ int main ( int argc, char **argv ) {
} catch (...) {
cerr << "Unknown exception in the main loop. Aborting..." << endl;
perror("Possible cause");
if (errno)
perror("Possible cause");
}
return 0;