From 3f8fa64b985abbf9dac472ed1fd131dcbdeb6ad6 Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Wed, 5 Dec 2018 16:39:29 -0800 Subject: [PATCH] wildcard must be outside the quotes --- src/scripts/update.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scripts/update.sh b/src/scripts/update.sh index bae396a80..580fdcfbb 100755 --- a/src/scripts/update.sh +++ b/src/scripts/update.sh @@ -32,7 +32,7 @@ fi # StandardError will follow StandardOutput in default inherit mode. https://www.freedesktop.org/software/systemd/man/systemd.exec.html echo "=> Run installer.sh as ${UPDATER_SERVICE}." -if [[ "$(systemd --version | head -n1)" != "systemd 22*" ]]; then +if [[ "$(systemd --version | head -n1)" != "systemd 22"* ]]; then readonly DATETIME=`date '+%Y-%m-%d_%H-%M-%S'` readonly LOG_FILE="/home/yellowtent/platformdata/logs/updater/cloudron-updater-${DATETIME}.log"