Unverified Commit 3438c3c4 authored by Kroese's avatar Kroese Committed by GitHub
Browse files

fix: Remove local before variable (#522)

parent c21342e7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -5,7 +5,7 @@ file=$(find / -maxdepth 1 -type f -iname boot.iso | head -n 1)
[ ! -s "$file" ] && file=$(find "$STORAGE" -maxdepth 1 -type f -iname boot.iso | head -n 1)

if [ ! -s "$file" ] && [[ "${BOOT,,}" != "http"* ]]; then
  local base=$(basename "$BOOT")
  base=$(basename "$BOOT")
  file="$STORAGE/$base"
fi