fix(setup): update error messages

This commit is contained in:
2024-09-03 12:15:39 +02:00
parent 3d299db80e
commit 310597669a
+2 -2
View File
@@ -141,12 +141,12 @@ create_symlink() {
elif $IGNORE_EXISTING; then elif $IGNORE_EXISTING; then
return 0 return 0
else else
error "path already exists:" error "symbolic link already exists:"
error "$dst" error "$dst"
return 1 return 1
fi fi
elif test -e "$dst"; then elif test -e "$dst"; then
error "path already exists and is not a symlink:" error "path already exists that is not a symlink:"
error "${dst}: $(stat -c '%F' -- "$dst")" error "${dst}: $(stat -c '%F' -- "$dst")"
return 1 return 1
fi fi