sync-once: Fix shellcheck warnings

Tested: Verified the output that echos the rsync command was the same as
before.

Change-Id: I345bb38bb932f78e57279de0301d47bef81a3d72
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
1 file changed