From 8d519b650273dbd4d4e52d0a271f9d95e16e23e6 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Mon, 21 Apr 2014 09:42:14 +0000 Subject: [PATCH] ssoma: --cron implies --quiet cronjobs should be quiet, since cron default to emailing the user on output. --- ssoma | 1 + 1 file changed, 1 insertion(+) diff --git a/ssoma b/ssoma index dabd511..ef99a00 100755 --- a/ssoma +++ b/ssoma @@ -194,6 +194,7 @@ sub foreach_list { sub cmd_sync { my ($listname, @targets) = @_; if ($opts{cron}) { + $opts{quiet} = 1; sleep(rand(CRON_RAND_DELAY)); } if (defined $listname) { -- 2.26.2