Remove warning newline
This commit is contained in:
parent
65f0175deb
commit
8d789fe09a
@ -148,7 +148,7 @@ do
|
|||||||
while true
|
while true
|
||||||
do
|
do
|
||||||
clear -x
|
clear -x
|
||||||
echo -e "\nWARNING:\nThis is NOT guranteed to work\nThis is ONLY supposed to be used as a LAST RESORT\nConsider rolling back your applications instead if possible"
|
echo -e "WARNING:\nThis is NOT guranteed to work\nThis is ONLY supposed to be used as a LAST RESORT\nConsider rolling back your applications instead if possible"
|
||||||
echo -e "\n\nYou have chosen:\n$restore_point\n\n"
|
echo -e "\n\nYou have chosen:\n$restore_point\n\n"
|
||||||
read -rt 120 -p "Would you like to proceed with restore? (y/N): " yesno || { echo -e "\nFailed to make a selection in time" ; exit; }
|
read -rt 120 -p "Would you like to proceed with restore? (y/N): " yesno || { echo -e "\nFailed to make a selection in time" ; exit; }
|
||||||
case $yesno in
|
case $yesno in
|
||||||
@ -170,4 +170,4 @@ do
|
|||||||
done
|
done
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
export -f restore
|
export -f restore
|
||||||
|
Loading…
Reference in New Issue
Block a user