aboutsummaryrefslogtreecommitdiffstats
path: root/src/rotate.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/rotate.c')
-rw-r--r--src/rotate.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/rotate.c b/src/rotate.c
index fae79f4..bd4f040 100644
--- a/src/rotate.c
+++ b/src/rotate.c
@@ -10,6 +10,9 @@ static char rcsid[] = "$Id$";
/*
* $Log$
+ * Revision 1.11 2010/07/16 11:04:10 james
+ * ignore tedious return values
+ *
* Revision 1.10 2008/03/07 13:16:02 james
* *** empty log message ***
*
@@ -60,7 +63,9 @@ rotate_gzip (char *file)
return;
}
- daemon (1, 0);
+ int result;
+
+ result = daemon (1, 0);
execlp ("gzip", "gzip", file, (char *) 0);
_exit (-1);
}