Commit 5c9a0e31 authored by Colin Watson's avatar Colin Watson

Make the error message when mkdir fails more helpful.

parent da4d6506
debmirror (1:2.30) UNRELEASED; urgency=medium
* Make the error message when mkdir fails more helpful.
-- Colin Watson <cjwatson@debian.org> Tue, 27 Feb 2018 17:07:56 +0000
debmirror (1:2.29) unstable; urgency=medium
[ Stefan Kisdaroczi ]
......
......@@ -2692,7 +2692,7 @@ sub fetch_and_apply_diffs {
$current.="$part/";
if (! $seen{$current}) {
if (! -d $current) {
mkdir($current) or die "mkdir failed: $!";
mkdir($current) or die "mkdir $current: $!";
debug("Created directory: $current");
}
$seen{$current}=1;
......
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