update-kernel: Show if user aborted install at the confirmation prompt
Signed-off-by: Vitaly Chikunov <vt@altlinux.org>
This commit is contained in:
parent
f8f27a7078
commit
973b740da2
@ -365,7 +365,7 @@ if [ "$force" = 1 ]; then
|
||||
echo "yes"
|
||||
else
|
||||
while true; do
|
||||
read -r || exit 1
|
||||
read -r || { echo "Aborting"; exit 1; }
|
||||
shopt -s nocasematch
|
||||
case "$REPLY" in
|
||||
n|no|0|q) exit 0 ;;
|
||||
|
Loading…
x
Reference in New Issue
Block a user