Commit 5a2c35dc authored by Chris Lamb's avatar Chris Lamb 💬

bin/strip-nondeterminism: die if file does not exist (Closes: #800159)

Signed-off-by: Chris Lamb's avatarChris Lamb <lamby@debian.org>
parent d64ace53
......@@ -59,6 +59,8 @@ $File::StripNondeterminism::clamp_time = $clamp_timestamp;
die $usage if @ARGV == 0;
for my $filename (@ARGV) {
die "$filename: Does not exist\n" unless -e $filename;
my $normalizer;
if (defined $filetype) {
$normalizer = File::StripNondeterminism::get_normalizer_by_name($filetype);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment