Skip to content

Commit

Permalink
files: print source path for detected collision
Browse files Browse the repository at this point in the history
  • Loading branch information
piegamesde authored and rycee committed May 17, 2020
1 parent 645149d commit 6c7a031
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/files.nix
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,10 @@ in
errorEcho "Existing file '$backup' would be clobbered by backing up '$targetPath'"
collision=1
else
warnEcho "Existing file '$targetPath' is in the way, will be moved to '$backup'"
warnEcho "Existing file '$targetPath' is in the way of '$sourcePath', will be moved to '$backup'"
fi
else
errorEcho "Existing file '$targetPath' is in the way"
errorEcho "Existing file '$targetPath' is in the way of '$sourcePath'"
collision=1
fi
fi
Expand Down

0 comments on commit 6c7a031

Please sign in to comment.