Remove nonint whiptail msgbox in do_overlayfs

This commit is contained in:
Serge Schneider
2022-03-07 09:28:09 +00:00
parent a2b49a272a
commit 684fbe183a
2 changed files with 9 additions and 1 deletions

View File

@@ -2674,7 +2674,9 @@ do_overlayfs() {
else
BPRO="writable"
fi
whiptail --msgbox "The boot partition is currently $BPRO. This cannot be changed while an overlay file system is enabled." 20 60 1
if [ "$INTERACTIVE" = True ]; then
whiptail --msgbox "The boot partition is currently $BPRO. This cannot be changed while an overlay file system is enabled." 20 60 1
fi
else
DEFAULT=--defaultno
CURRENT=0