Skip to content

Commit

Permalink
Fix uninitialized variable error
Browse files Browse the repository at this point in the history
  • Loading branch information
marcone committed Feb 7, 2024
1 parent 68c1091 commit 31abc6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup/pi/setup-teslausb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ then
exit 1
fi

if [ "$(. /etc/os-release && echo "$VERSION_ID")" = "9" ]
if [ "$(. /etc/os-release && echo "${VERSION_ID:-}")" = "9" ]
then
echo "STOP: Stretch-based install is no longer supported. Please flash the latest prebuilt."
exit 1
Expand Down

0 comments on commit 31abc6a

Please sign in to comment.