From: Thibault Godouet Date: Sun, 18 Jun 2000 15:28:15 +0000 (+0000) Subject: now updated in xexit() X-Git-Tag: ver2_9_4~685 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b58eb8ff07c4ecbafccb00f0f2c72ff9975e8da0;p=thirdparty%2Ffcron.git now updated in xexit() --- diff --git a/fcron.c b/fcron.c index f469c73..059dc7f 100644 --- a/fcron.c +++ b/fcron.c @@ -21,11 +21,11 @@ * `LICENSE' that comes with the fcron source distribution. */ - /* $Id: fcron.c,v 1.14 2000-06-18 13:11:11 thib Exp $ */ + /* $Id: fcron.c,v 1.15 2000-06-18 15:28:15 thib Exp $ */ #include "fcron.h" -char rcs_info[] = "$Id: fcron.c,v 1.14 2000-06-18 13:11:11 thib Exp $"; +char rcs_info[] = "$Id: fcron.c,v 1.15 2000-06-18 15:28:15 thib Exp $"; void main_loop(void); void info(void); @@ -102,11 +102,13 @@ xexit(int exit_value) { CF *f = NULL; + now = time(NULL); + /* we save all files now and after having waiting for all * job being executed because we might get a SIGKILL * if we don't exit quickly */ save_file(NULL, NULL); - + f = file_base; while ( f != NULL ) { if ( f->cf_running > 0 ) {