File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -292,8 +292,8 @@ user_select() {
292
292
293
293
if [ " $option_confirm " = " d" ]; then
294
294
if [ ! -r " $TMP_KEY_DEVICES " ]; then
295
- # rerun primary boot loop to boot the new default option
296
- continue
295
+ # continue below to boot the new default option
296
+ true
297
297
else
298
298
echo " +++ Rebooting to start the new default option"
299
299
sleep 2
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ if [ ! -d /media ]; then
23
23
fi
24
24
25
25
list_usb_storage > /tmp/usb_block_devices
26
- if [ -z ` cat /tmp/usb_block_devices` ]; then
26
+ if [ -z " $( cat /tmp/usb_block_devices) " ]; then
27
27
if [ -x /bin/whiptail ]; then
28
28
whiptail $BG_COLOR --title ' USB Drive Missing' \
29
29
--msgbox " Insert your USB drive and press Enter to continue." 16 60
@@ -33,7 +33,7 @@ if [ -z `cat /tmp/usb_block_devices` ]; then
33
33
fi
34
34
sleep 1
35
35
list_usb_storage > /tmp/usb_block_devices
36
- if [ -z ` cat /tmp/usb_block_devices` ]; then
36
+ if [ -z " $( cat /tmp/usb_block_devices) " ]; then
37
37
if [ -x /bin/whiptail ]; then
38
38
whiptail $BG_COLOR_ERROR --title ' ERROR: USB Drive Missing' \
39
39
--msgbox " USB Drive Missing! Aborting mount attempt.\n\nPress Enter to continue." 16 60
You can’t perform that action at this time.
0 commit comments