Missed a default variable setting

I hate this whole unbound variable protection mode, but it sure does catch bugs. :)
This commit is contained in:
Richard Goodwin
2018-10-30 15:18:23 -05:00
parent 589a16f833
commit 9e5324f327

View File

@@ -1,5 +1,7 @@
#!/bin/bash -eu
HEADLESS_SETUP=${HEADLESS_SETUP:-false}
function setup_progress () {
SETUP_LOGFILE=/boot/teslausb-headless-setup.log
if [ $HEADLESS_SETUP = "true" ]