index : archiso32 | |
Archlinux32 iso tools | gitolite user |
summaryrefslogtreecommitdiff |
author | nl6720 <nl6720@gmail.com> | 2020-08-02 15:37:30 +0300 |
---|---|---|
committer | nl6720 <nl6720@gmail.com> | 2020-08-11 06:58:06 +0300 |
commit | 8e82bbbe4a239a529a3c7df3ae0664fc551e1213 (patch) | |
tree | e8f31e402057cfe93e70d4b01a9771fb6c559acf /archiso | |
parent | 6312ccc9bccb453c8506322581aa467538bc123f (diff) |
-rw-r--r-- | archiso/initcpio/hooks/archiso | 2 |
diff --git a/archiso/initcpio/hooks/archiso b/archiso/initcpio/hooks/archiso index a12c260..716c69e 100644 --- a/archiso/initcpio/hooks/archiso +++ b/archiso/initcpio/hooks/archiso @@ -14,7 +14,7 @@ _mnt_dmsnapshot() { ro_dev="$(losetup --find --show --read-only -- "${img}")" echo "${ro_dev}" >> /run/archiso/used_block_devices - ro_dev_size="$(blockdev --getsz -- "${ro_dev}")" + ro_dev_size="$(blockdev --getsz "${ro_dev}")" if [ "${cow_persistent}" = "P" ]; then if [ -f "/run/archiso/cowspace/${cow_directory}/${img_name}.cow" ]; then |