Zachary Kotlarek %!s(int64=13) %!d(string=hai) anos
pai
achega
f5ca53a731
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      sync.sh

+ 2 - 1
sync.sh

@@ -111,7 +111,8 @@ for (( i=1; i<=${NUM_FILES}; i++ )); do
 	# Determine the action (i.e. copy to or delete from remote)
 	if [ "${ACTION}" == '+' ]; then
 		if [ -n "${NO_DELETE}" ]; then
-			; # Do nothing
+			# Do nothing
+			true
 		elif [ -d "${PATH_REMOTE}" ]; then
 			echo "Removing directory: ${FILE}"
 			rmdir "${PATH_REMOTE}"