From abf6d9d290e24eb79f531b424c47d3200ab3ce57 Mon Sep 17 00:00:00 2001 From: Chrysostomus Date: Sat, 25 Feb 2017 00:56:04 +0800 Subject: [PATCH] Reverse actions of formatting warning --- lib/util-disk.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/util-disk.sh b/lib/util-disk.sh index 6dc04c1..2a3b84a 100644 --- a/lib/util-disk.sh +++ b/lib/util-disk.sh @@ -247,7 +247,7 @@ create_partitions() { # Warn about formatting! if [[ $FILESYSTEM != $_FSSkip ]]; then DIALOG " $_FSTitle " --yesno "\n$_FSMount $FILESYSTEM\n\n! $_FSWarn1 $PARTITION $_FSWarn2 !\n\n" 0 0 - if (( $? != 0 )); then + if (( $? != 1 )); then ${FILESYSTEM} ${PARTITION} >/dev/null 2>$ERR check_for_error "mount $PARTITION as $FILESYSTEM." $? else