Don't read ANS if it's empty
This commit is contained in:
parent
e0efe9fd21
commit
5f325663b2
@ -387,7 +387,7 @@ main()
|
||||
12 "View configuration and command selections" \
|
||||
13 "* Confirm choices and start the installation" 2> "$ANS"
|
||||
|
||||
read -r SEL < "$ANS"
|
||||
[[ -s "$ANS" ]] && read -r SEL < "$ANS"
|
||||
[[ -z $WARN && $SEL =~ (2|5) ]] && { msg "Data Warning" "$_warn"; WARN=true; }
|
||||
case $SEL in
|
||||
1) part_show ;;
|
||||
|
Reference in New Issue
Block a user