reorder to remove if (0);
This commit is contained in:
@@ -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);
|
||||||
|
Reference in New Issue
Block a user