log signal causing exit
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15302 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 1997-2004 Kungliga Tekniska H<>gskolan
|
||||
* Copyright (c) 1997-2005 Kungliga Tekniska H<>gskolan
|
||||
* (Royal Institute of Technology, Stockholm, Sweden).
|
||||
* All rights reserved.
|
||||
*
|
||||
@@ -840,5 +840,11 @@ loop(void)
|
||||
}
|
||||
}
|
||||
}
|
||||
if(exit_flag == SIGXCPU)
|
||||
kdc_log(0, "CPU time limit exceeded");
|
||||
else if(exit_flag == SIGINT || exit_flag == SIGTERM)
|
||||
kdc_log(0, "Terminated");
|
||||
else
|
||||
kdc_log(0, "Unexpected exit reason: %d", exit_flag)
|
||||
free (d);
|
||||
}
|
||||
|
Reference in New Issue
Block a user