From 8a55708616f3a806a29e8675f5179b5767efe48d Mon Sep 17 00:00:00 2001 From: Ricardo Signes Date: Fri, 26 Apr 2024 11:57:49 +0100 Subject: [PATCH] mldistwatch: load FindBin before PAUSE::Logger ...so that we *can* load PAUSE::Logger! --- cron/mldistwatch | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/cron/mldistwatch b/cron/mldistwatch index 46841c958..b187f38ea 100755 --- a/cron/mldistwatch +++ b/cron/mldistwatch @@ -75,14 +75,15 @@ Setting testhost prevents sending mail; automatically sets skip-locking too. =cut +use strict; +use FindBin; +use lib "$FindBin::Bin/../lib"; + use PAUSE::Logger '$Logger' => { init => { ident => 'mldistwatch', facility => 'daemon', } }; -use strict; -use FindBin; -use lib "$FindBin::Bin/../lib"; use PAUSE::mldistwatch (); use Getopt::Long ();