summaryrefslogtreecommitdiff
path: root/src/core/libs/lib-blockdevices-filesystems.sh
diff options
context:
space:
mode:
authorDieter Plaetinck <dieter@plaetinck.be>2008-12-14 19:05:09 +0100
committerDieter Plaetinck <dieter@plaetinck.be>2008-12-14 19:05:09 +0100
commit6229c990b0209c3585c3ca54a5a89f98bc0109c0 (patch)
tree12bbefafcca7aae83f7d9fd5c7d1f2b83fe04c2e /src/core/libs/lib-blockdevices-filesystems.sh
parentc2666130a6170b7f2c4d5bd5dde64fb4035275e0 (diff)
syntax fixes
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 0fdcb03..9f51c9a 100644
--- a/src/core/libs/lib-blockdevices-filesystems.sh
+++ b/src/core/libs/lib-blockdevices-filesystems.sh
@@ -665,8 +665,8 @@ process_filesystem ()
lvm-lv) # $fs_params = size string (eg '5G')
lvcreate -L $fs_params $fs_opts -n $fs_label `sed 's#/dev/mapper/##' <<< $part` >$LOG 2>&1; ret=$? ;; #$opts is usually something like -L 10G # Strip '/dev/mapper/' part because device file may not exist. TODO: do i need to activate them?
# don't handle anything else here, we will error later
- BLOCK_ROLLBACK_USELESS=0
esac
+ BLOCK_ROLLBACK_USELESS=0
[ "$ret" -gt 0 ] && ( show_warning "process_filesystem error" "Error creating filesystem $fs_type on $part." ; return 1 )
sleep 2
fi