summaryrefslogtreecommitdiffstats
path: root/files/reprepro/snapshots
diff options
context:
space:
mode:
authorCyril Brulebois <cyril@debamax.com>2016-04-05 19:18:38 +0200
committerCyril Brulebois <cyril@debamax.com>2016-04-05 19:47:11 +0200
commit965d0803aa01ea498fd2fe02c657be7486440d64 (patch)
tree72157f49c18b4892392ef5959aca45ffffab11dd /files/reprepro/snapshots
parentf63f1245643392ec68c0d26b1d0ca80b8da3523b (diff)
Print dry-run mode to stderr to make it easy to filter.
An alternative would be to use verbose_print here, but one would only get this warning when running with VERBOSE=1, which looks suboptimal. Signed-off-by: Cyril Brulebois <cyril@debamax.com>
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 ca822ec..4b27729 100755
--- a/files/reprepro/snapshots/time_based/tails-delete-expired-apt-snapshots
+++ b/files/reprepro/snapshots/time_based/tails-delete-expired-apt-snapshots
@@ -31,7 +31,7 @@ my $dryrun = 0;
GetOptions ("dry-run" => \$dryrun)
or usage();
-print "\n*** DRY RUN *** running in simulation mode\n\n"
+print STDERR "\n*** DRY RUN *** running in simulation mode\n\n"
if $dryrun;
my $archive_dir = shift @ARGV;