mirror of
https://github.com/linuxboot/heads.git
synced 2025-01-29 15:44:07 +00:00
Merge pull request #1493 from JonathonHall-Purism/flash_gui_sh_exit
initrd/bin/flash-gui.sh: Exit instead of errant return
This commit is contained in:
commit
446b45e4f0
@ -36,7 +36,7 @@ while true; do
|
||||
find /media ! -path '*/\.*' -type f \( -name '*.rom' -o -name '*.tgz' \) | sort > /tmp/filelist.txt
|
||||
file_selector "/tmp/filelist.txt" "Choose the ROM to flash"
|
||||
if [ "$FILE" == "" ]; then
|
||||
return
|
||||
exit 1
|
||||
else
|
||||
ROM=$FILE
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user