From fb8bb68aa83b05237782385b1c304c371fdf212c Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Wed, 8 Apr 2020 09:43:15 -0700 Subject: [PATCH] style fixes --- start.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/start.sh b/start.sh index 105ffd7..0b7e577 100755 --- a/start.sh +++ b/start.sh @@ -5,11 +5,11 @@ set -eu mkdir -p /app/data/config /app/data/folders /run/syncthing # if this if the first run, generate a useful config -if [ ! -f /app/data/config/config.xml ]; then +if [[ ! -f /app/data/config/config.xml ]]; then echo "=> Generating config" STNODEFAULTFOLDER=1 /app/code/syncthing --generate="/app/data/config" - # The password value was determined by reading config.xml and setting value in the GUI + # The password value (changeme) was determined by reading config.xml and setting value in the GUI # urAccepted is 0 for not decided, -1 for no reporting xmlstarlet ed --inplace \ --subnode "//configuration/gui" -t elem -n user -v "admin" \