summarylogtreecommitdiffstats
path: root/openswap.hook
diff options
context:
space:
mode:
authorJenya Sovetkin2017-10-14 16:23:30 +0200
committerJenya Sovetkin2017-10-14 16:23:30 +0200
commit278d5e52c11bd7d4d52b655c3bd889630fb1ae1c (patch)
tree41fbf1343445af5732421b6b8cf22c8460f8eefc /openswap.hook
parenta889bd8e610a4edc79cf07934f70b9cec7201685 (diff)
downloadaur-278d5e52c11bd7d4d52b655c3bd889630fb1ae1c.tar.gz
fix from dreieck
Diffstat (limited to 'openswap.hook')
-rw-r--r--openswap.hook2
1 files changed, 1 insertions, 1 deletions
diff --git a/openswap.hook b/openswap.hook
index ead4c4f869bb..9aad79a29c2d 100644
--- a/openswap.hook
+++ b/openswap.hook
@@ -6,7 +6,7 @@ run_hook ()
if [ -z "$keyfile_device" ] || [ -z "$keyfile_filename" ]
then
## case when no keyfile provided in configurations
- cryptsetup open "$swap_device" "$crypt_swap_name"
+ cryptsetup open $cryptsetup_options "$swap_device" "$crypt_swap_name"
else
## case when keyfile is provided in configurations
mkdir openswap_keymount