From 9fcf84a922e0973444c0115807004a23042a8937 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Sun, 12 Jan 2014 19:28:45 +0100 Subject: [PATCH] Cleanup --- modules/porterbox/files/mail-big-homedirs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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 = [ -- 2.20.1