From 71133d4acde2653736bb71cf8f7bbe3207ed1798 Mon Sep 17 00:00:00 2001 From: Michael Stanclift Date: Tue, 2 Jun 2020 21:09:26 -0500 Subject: [PATCH] More quotes --- gravity-sync.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gravity-sync.sh b/gravity-sync.sh index cb494c3..6d6fe3e 100755 --- a/gravity-sync.sh +++ b/gravity-sync.sh @@ -654,7 +654,7 @@ function ssh_function { fi elif hash dbclient 2>/dev/null then - SSH_SEND="timeout --preserve-status ${CMD_TIMEOUT} ${SSH_CMD} -p ${SSH_PORT} -i \"$HOME/${SSH_PKIF}\" ${REMOTE_USER}@${REMOTE_HOST} '${CMD_REQUESTED}'" + SSH_SEND="timeout --preserve-status ${CMD_TIMEOUT} ${SSH_CMD} -p ${SSH_PORT} -i \"$HOME/${SSH_PKIF}\" ${REMOTE_USER}@${REMOTE_HOST} \"${CMD_REQUESTED}\"" fi }