fix(moonraker.sh): bug in instance confirmation
Signed-off-by: Dominik Willner th33xitus@gmail.com
This commit is contained in:
@@ -80,6 +80,7 @@ function moonraker_setup_dialog(){
|
|||||||
error_msg "Invalid Input!\n"
|
error_msg "Invalid Input!\n"
|
||||||
else
|
else
|
||||||
echo
|
echo
|
||||||
|
while true; do
|
||||||
read -p "${cyan}###### Install ${count} instance(s)? (Y/n):${default} " yn
|
read -p "${cyan}###### Install ${count} instance(s)? (Y/n):${default} " yn
|
||||||
case "${yn}" in
|
case "${yn}" in
|
||||||
Y|y|Yes|yes|"")
|
Y|y|Yes|yes|"")
|
||||||
@@ -92,9 +93,10 @@ function moonraker_setup_dialog(){
|
|||||||
error_msg "Exiting Moonraker setup ...\n"
|
error_msg "Exiting Moonraker setup ...\n"
|
||||||
break;;
|
break;;
|
||||||
*)
|
*)
|
||||||
print_error "Invalid command!"
|
error_msg "Invalid Input!\n"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
done
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user