From: Peter Palfrader Date: Sun, 12 Jan 2014 18:28:45 +0000 (+0100) Subject: Cleanup X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=9fcf84a922e0973444c0115807004a23042a8937;p=mirror%2Fdsa-puppet.git Cleanup --- diff --git a/modules/porterbox/files/mail-big-homedirs b/modules/porterbox/files/mail-big-homedirs index 9971e83fc..0ece7c56e 100755 --- a/modules/porterbox/files/mail-big-homedirs +++ b/modules/porterbox/files/mail-big-homedirs @@ -44,12 +44,9 @@ DRYRUN = False if DRYRUN: SENDMAIL_COMMAND = ['/bin/cat'] -else: - SENDMAIL_COMMAND = ['/usr/sbin/sendmail', '-t', '-oi'] - -if DRYRUN: RM_COMMAND = ['/bin/echo', 'Would remove'] else: + SENDMAIL_COMMAND = ['/usr/sbin/sendmail', '-t', '-oi'] RM_COMMAND = ['/bin/rm', '-rf'] CRITERIA = [