From dd9e076e47870c22f1eddea793803fb90b70a89d Mon Sep 17 00:00:00 2001 From: Love Hornquist Astrand Date: Fri, 25 Dec 2009 10:45:26 +0100 Subject: [PATCH] reorder to remove if (0); --- lib/kadm5/ipropd_master.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/kadm5/ipropd_master.c b/lib/kadm5/ipropd_master.c index ea725d2b8..5915c7915 100644 --- a/lib/kadm5/ipropd_master.c +++ b/lib/kadm5/ipropd_master.c @@ -953,13 +953,12 @@ main(int argc, char **argv) write_stats(context, slaves, current_version); } - if (0) ; + if(exit_flag == SIGINT || exit_flag == SIGTERM) + krb5_warnx(context, "%s terminated", getprogname()); #ifdef SIGXCPU else if(exit_flag == SIGXCPU) krb5_warnx(context, "%s CPU time limit exceeded", getprogname()); #endif - else if(exit_flag == SIGINT || exit_flag == SIGTERM) - krb5_warnx(context, "%s terminated", getprogname()); else krb5_warnx(context, "%s unexpected exit reason: %ld", getprogname(), (long)exit_flag);