Commit 4f76bd4b authored by Kroese's avatar Kroese
Browse files

Shellchecks

parent 03d46d58
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2,7 +2,7 @@
set -eu

IMG="/storage"
BASE=$(basename $URL .pat)
BASE=$(basename "$URL" .pat)

[ ! -f "/run/server.sh" ] && echo "Script must run inside Docker container!" && exit 60

+1 −1
Original line number Diff line number Diff line
@@ -10,7 +10,7 @@ else
fi

IMG="/storage"
BASE=$(basename $URL .pat)
BASE=$(basename "$URL" .pat)

FILE="$IMG/$BASE.boot.img"
[ ! -f "$FILE" ] && echo "ERROR: Synology DSM boot-image does not exist ($FILE)" && exit 81