From cddbd4807ba48cad69b23197c23a2e74c7df20e5 Mon Sep 17 00:00:00 2001 From: thib Date: Sun, 18 Jun 2000 15:28:15 +0000 Subject: [PATCH] now updated in xexit() --- fcron.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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 ) { -- 2.50.1