From e9a3f8e4977b0fad4ecf2c4909c366fa60921eb6 Mon Sep 17 00:00:00 2001 From: Mikael Nordin Date: Thu, 15 Sep 2016 10:54:13 +0200 Subject: [PATCH] Update cluster_cron.pl --- cluster_cron.pl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/cluster_cron.pl b/cluster_cron.pl index 3c7d132..954668a 100755 --- a/cluster_cron.pl +++ b/cluster_cron.pl @@ -19,8 +19,11 @@ my ($user, $shareddir, $mode, $spooldir) = @ARGV; # Set some defaults if we didn't get them unless ($mode == 0) { # mode 0 = active/passive, mode 1 = active/active - print "Mode not set on command line, going to active/active\n"; + print "Mode is active/active\n"; $mode = 1; +} else { + print "Mode is active/passive\n"; + } unless ($spooldir) { $spooldir = "/var/spool/cron/crontabs";