reorder to remove if (0);

This commit is contained in:
Love Hornquist Astrand
2009-12-25 10:45:26 +01:00
parent 15cff173a2
commit dd9e076e47

View File

@@ -953,13 +953,12 @@ main(int argc, char **argv)
write_stats(context, slaves, current_version); write_stats(context, slaves, current_version);
} }
if (0) ; if(exit_flag == SIGINT || exit_flag == SIGTERM)
krb5_warnx(context, "%s terminated", getprogname());
#ifdef SIGXCPU #ifdef SIGXCPU
else if(exit_flag == SIGXCPU) else if(exit_flag == SIGXCPU)
krb5_warnx(context, "%s CPU time limit exceeded", getprogname()); krb5_warnx(context, "%s CPU time limit exceeded", getprogname());
#endif #endif
else if(exit_flag == SIGINT || exit_flag == SIGTERM)
krb5_warnx(context, "%s terminated", getprogname());
else else
krb5_warnx(context, "%s unexpected exit reason: %ld", krb5_warnx(context, "%s unexpected exit reason: %ld",
getprogname(), (long)exit_flag); getprogname(), (long)exit_flag);