diff options
author | Simon Rettberg | 2024-06-13 20:22:22 +0200 |
---|---|---|
committer | Simon Rettberg | 2024-06-13 20:22:22 +0200 |
commit | 6cca8b1b0b57db30feac2be774d7525dce8c0594 (patch) | |
tree | 37fc803fceef5f3d459a26d278e3ec43eb62f7fc | |
parent | [dnbd3root] Add missing .service (diff) | |
download | systemd-init-6cca8b1b0b57db30feac2be774d7525dce8c0594.tar.gz systemd-init-6cca8b1b0b57db30feac2be774d7525dce8c0594.tar.xz systemd-init-6cca8b1b0b57db30feac2be774d7525dce8c0594.zip |
[slx-dmsetup] Kill stray line
-rwxr-xr-x | modules.d/slx-dmsetup/hooks/dmsetup-slx-device | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/modules.d/slx-dmsetup/hooks/dmsetup-slx-device b/modules.d/slx-dmsetup/hooks/dmsetup-slx-device index ac965175..0888e97c 100755 --- a/modules.d/slx-dmsetup/hooks/dmsetup-slx-device +++ b/modules.d/slx-dmsetup/hooks/dmsetup-slx-device @@ -162,7 +162,6 @@ encrypt_device() { modprobe dm-crypt || echo "$0: dm-crypt loading failed, maybe builtin?" [ -b "$1" ] || return 1 [ -n "$2" ] || return 1 - [ -z "$3" ] && local dev_size="$( blockdev --getsz "$1" )" if [ -z "$dev_size" ]; then echo "$0: Cannot encrypt non-existent device $1" |