summaryrefslogtreecommitdiffstats
path: root/files/reprepro/snapshots
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2016-05-06 15:36:53 +0000
committerintrigeri <intrigeri@boum.org>2016-05-06 15:36:53 +0000
commit63ad6f5984744afee86dca507a6f0a2c8e1575fd (patch)
treead57e0a30cdba7c63c34991ce67dcd784c00d87c /files/reprepro/snapshots
parent8fafe811135d1e4344f12e06b4309bca41d47f2b (diff)
Don't print the warning about dry-run in silent mode.
Diffstat (limited to 'files/reprepro/snapshots')
-rwxr-xr-xfiles/reprepro/snapshots/time_based/tails-delete-expired-apt-snapshots2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/reprepro/snapshots/time_based/tails-delete-expired-apt-snapshots b/files/reprepro/snapshots/time_based/tails-delete-expired-apt-snapshots
index f4f780b..aadd9ea 100755
--- a/files/reprepro/snapshots/time_based/tails-delete-expired-apt-snapshots
+++ b/files/reprepro/snapshots/time_based/tails-delete-expired-apt-snapshots
@@ -37,7 +37,7 @@ GetOptions ("dry-run" => \$dryrun)
or usage();
print STDERR "\n*** DRY RUN *** running in simulation mode\n\n"
- if $dryrun;
+ if $dryrun && !$ENV{SILENT};
my $archive_dir = shift @ARGV;
if (! defined $archive_dir) {