summaryrefslogtreecommitdiff
path: root/src/core/libs/lib-blockdevices-filesystems.sh
diff options
context:
space:
mode:
authorMatthias Dienstbier <mdienstbier@googlemail.com>2010-03-24 18:43:01 +0100
committerMatthias Dienstbier <mdienstbier@googlemail.com>2010-03-24 18:43:01 +0100
commit447fc52078b7e9a78e1db3590161be16cec170a3 (patch)
treedc8cb857c79978980f509a0a86f3d5a498e2384b /src/core/libs/lib-blockdevices-filesystems.sh
parent47fbd4531a556e62be50b12f3376e73e9caaa4c7 (diff)
fix returns and exits in subshells
Diffstat (limited to 'src/core/libs/lib-blockdevices-filesystems.sh')
-rw-r--r--src/core/libs/lib-blockdevices-filesystems.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/libs/lib-blockdevices-filesystems.sh b/src/core/libs/lib-blockdevices-filesystems.sh
index be4c270..07eee5d 100644
--- a/src/core/libs/lib-blockdevices-filesystems.sh
+++ b/src/core/libs/lib-blockdevices-filesystems.sh
@@ -742,7 +742,7 @@ process_filesystem ()
# don't handle anything else here, we will error later
esac
BLOCK_ROLLBACK_USELESS=0
- [ "$ret" -gt 0 ] && ( show_warning "process_filesystem error" "Error creating filesystem $fs_type on $part." ; return 1 )
+ [ "$ret" -gt 0 ] && { show_warning "process_filesystem error" "Error creating filesystem $fs_type on $part."; return 1; }
sleep 2
fi