Add a missing conflict if we tried to unstow a file in compat mode.

This commit is contained in:
Adam Spiers 2011-11-17 20:11:32 +00:00
parent a1246072dd
commit eda2b83355

View file

@ -675,6 +675,11 @@ sub unstow_node_orig {
fold_tree($target, $parent);
}
}
elsif (-e $target) {
conflict(
qq{existing target is neither a link nor a directory: $target},
);
}
else {
debug(3, "$target did not exist to be unstowed");
}