edit dialog

This commit is contained in:
rootzoll
2020-07-04 15:31:08 +02:00
parent 728088387d
commit 7c9912e4df

View File

@@ -105,13 +105,12 @@ if [ "$1" = "on" ]; then
exit 1
fi
whiptail --title " FORMATTING DEVICE " --yes-button "FORMAT" --no-button "Cancel" --yesno "
Will format the following device as Backup drive:
whiptail --title " FORMATTING DEVICE " --yes-button "Cancel" --no-button "FORMAT" --yesno "Will format the following device as Backup drive:
${backupCandidate[0]}
THIS WILL DELETE ALL DATA ON THAT DEVICE!
" 9 60
if [ $? -eq 1 ]; then
" 11 60
if [ $? -eq 0 ]; then
echo "# CANCEL"
exit 1
fi