Skip to content

Commit

Permalink
Adding missing if closing statement
Browse files Browse the repository at this point in the history
Service is continually failing for an "unexpected end of file" error, adding in a missing if closing to resolve error
  • Loading branch information
david-forster10 authored and guysoft committed Jan 2, 2025
1 parent df10e1e commit 252e4f1
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
CONFIG_FILE=/boot/firmware/octopi.txt
# Fallback for older images
if [ ! -f "${CONFIG_FILE}" ] && [ -f "/boot/octopi.txt" ]; then
CONFIG_FILE=/boot/octopi.txt
CONFIG_FILE=/boot/octopi.txt
fi

source "${CONFIG_FILE}"

Expand Down

0 comments on commit 252e4f1

Please sign in to comment.