diff --git a/autodeploy/symlink.sh b/autodeploy/symlink.sh index fcc490b..5b4db55 100755 --- a/autodeploy/symlink.sh +++ b/autodeploy/symlink.sh @@ -11,7 +11,7 @@ function symlink() { echo "Creating symlink ($arrow) ..." local current_target - current_target=$(readlink "$link") + current_target=$(readlink "$link" || true) # link is already correct if [ -L "$link" ] && [ "$current_target" == "$target" ]; then