wildcard must be outside the quotes

This commit is contained in:
Girish Ramakrishnan
2018-12-05 16:39:29 -08:00
parent 527ff1b1fb
commit 3f8fa64b98

View File

@@ -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"