summaryrefslogtreecommitdiff
path: root/src/expiry.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/expiry.c')
-rw-r--r--src/expiry.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/expiry.c b/src/expiry.c
index 41add942..1d200716 100644
--- a/src/expiry.c
+++ b/src/expiry.c
@@ -46,6 +46,7 @@
/* Global variables */
const char *Prog;
+FILE *shadow_logfd = NULL;
static bool cflg = false;
/* local function prototypes */
@@ -144,6 +145,7 @@ int main (int argc, char **argv)
struct spwd *spwd;
Prog = Basename (argv[0]);
+ shadow_logfd = stderr;
sanitize_env ();