summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Bauer2019-02-27 12:18:51 +0100
committerJonathan Bauer2019-02-27 12:18:51 +0100
commit13d09dace345a08d1b9e8c28f8fa49d22856f12e (patch)
tree5c8e2df2130a33ab2a0cfa9771e5fc29c07dafbc
parent[slx-partitioner] fix param for save_part_info (diff)
downloadsystemd-init-13d09dace345a08d1b9e8c28f8fa49d22856f12e.tar.gz
systemd-init-13d09dace345a08d1b9e8c28f8fa49d22856f12e.tar.xz
systemd-init-13d09dace345a08d1b9e8c28f8fa49d22856f12e.zip
[slx-part] fix parsing of snapshot entry
-rwxr-xr-xbuilder/modules.d/slx-partitioner/scripts/dmsetup-slx-device2
1 files changed, 1 insertions, 1 deletions
diff --git a/builder/modules.d/slx-partitioner/scripts/dmsetup-slx-device b/builder/modules.d/slx-partitioner/scripts/dmsetup-slx-device
index 59079870..c6c3c8cc 100755
--- a/builder/modules.d/slx-partitioner/scripts/dmsetup-slx-device
+++ b/builder/modules.d/slx-partitioner/scripts/dmsetup-slx-device
@@ -420,7 +420,7 @@ fi
## SNAPSHOT (OLD FUNCTIONALITY)
###
if [ -n "$snapshot" ]; then
- read -r name crypt persist ignore <<< "$snapshot"
+ read -r name crypt min max ignore <<< "$snapshot"
if ! create_snapshot "$name $persist"; then
echo "Failed to create regular snapshot for '$read_only_device' on '$writable_device'."
ramdisk_fallback