Reverse actions of formatting warning

This commit is contained in:
Chrysostomus 2017-02-25 00:56:04 +08:00
parent ce1bb2905d
commit abf6d9d290

View File

@ -247,7 +247,7 @@ create_partitions() {
# Warn about formatting! # Warn about formatting!
if [[ $FILESYSTEM != $_FSSkip ]]; then if [[ $FILESYSTEM != $_FSSkip ]]; then
DIALOG " $_FSTitle " --yesno "\n$_FSMount $FILESYSTEM\n\n! $_FSWarn1 $PARTITION $_FSWarn2 !\n\n" 0 0 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 ${FILESYSTEM} ${PARTITION} >/dev/null 2>$ERR
check_for_error "mount $PARTITION as $FILESYSTEM." $? check_for_error "mount $PARTITION as $FILESYSTEM." $?
else else