diff --git a/cluster/cluster-deploy.sh b/cluster/cluster-deploy.sh index b3d4ef7..4c11dc7 100755 --- a/cluster/cluster-deploy.sh +++ b/cluster/cluster-deploy.sh @@ -125,6 +125,10 @@ fi # ... or one by one for FILE in "$@" ; do echo "Deploying '$FILE'..." + if [ ! -e "$FILE" ] ; then + echo "This file doesn't exist, skipping." + continue + fi if [ "$RSYNC" = "1" ] ; then $PRSYNC -a $DELETE $LOGIN -h "$HOSTS" -- "$FILE" "$DEST_DIR" else