From: Eric Wong Date: Mon, 21 Apr 2014 09:42:14 +0000 (+0000) Subject: ssoma: --cron implies --quiet X-Git-Tag: v0.0.0~1 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8d519b650273dbd4d4e52d0a271f9d95e16e23e6;p=ssoma-mda.git ssoma: --cron implies --quiet cronjobs should be quiet, since cron default to emailing the user on output. --- 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) {