summaryrefslogtreecommitdiff
path: root/src/core/libs/lib-blockdevices-filesystems.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/libs/lib-blockdevices-filesystems.sh')
-rw-r--r--src/core/libs/lib-blockdevices-filesystems.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/libs/lib-blockdevices-filesystems.sh b/src/core/libs/lib-blockdevices-filesystems.sh
index d2bbaf9..ae40c06 100644
--- a/src/core/libs/lib-blockdevices-filesystems.sh
+++ b/src/core/libs/lib-blockdevices-filesystems.sh
@@ -329,14 +329,14 @@ process_disks ()
{
while read disk scheme
do
- process_disk $disk "$scheme"
+ process_disk $disk "$scheme" || return $?
done < $TMP_PARTITIONS
}
process_disk ()
{
- partition $1 $2
+ partition $1 "$2"
}