diff --git a/wp-git-sync.sh b/wp-git-sync.sh index c52c7ca..4c1f917 100644 --- a/wp-git-sync.sh +++ b/wp-git-sync.sh @@ -59,7 +59,7 @@ while :; do ;; -m|--message) #optional if [[ $2 ]]; then - MESSAGE=$2 + MESSAGE="$2" shift else ERRORMESSAGES="ERROR: '-m | --message' requires a non-empty option argument."