diff --git a/restic.sh b/restic.sh index a39b6c0..83af601 100644 --- a/restic.sh +++ b/restic.sh @@ -24,7 +24,7 @@ git pull > /dev/null # restic version update INSTALLED_RESTIC_VERSION=$(restic version | awk '{print $2}') -if [ ${LATEST_RESTIC_VERSION} != ${INSTALLED_RESTIC_VERSION} ] || [ ! -e '/usr/bin/restic' ]; then +if [ "${LATEST_RESTIC_VERSION}" != "${INSTALLED_RESTIC_VERSION}" ] || [ ! -e '/usr/bin/restic' ]; then # Determine the Kernel and Architecture KERNEL=$(uname) ARCH=$(uname -m)