summaryrefslogtreecommitdiff
path: root/etc/completions/_cryptsetup
diff options
context:
space:
mode:
Diffstat (limited to 'etc/completions/_cryptsetup')
-rw-r--r--etc/completions/_cryptsetup4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/completions/_cryptsetup b/etc/completions/_cryptsetup
index 5a327b3..9f75ec0 100644
--- a/etc/completions/_cryptsetup
+++ b/etc/completions/_cryptsetup
@@ -19,12 +19,12 @@ function _cryptsetup_mapping {
function _cryptsetup_arguments {
if (( CURRENT == 2 )) {
- case $words[1] in
+ case ${words[1]} in
create|remove|status|resize) _cryptsetup_mapping ;;
luks(Format|Open|AddKey|RemoveKey|KillSlot|DelKey|UUID|Dump)|isLuks) _cryptsetup_device ;;
esac
} elif (( CURRENT == 3 )) {
- case $words[1] in
+ case ${words[1]} in
create) _cryptsetup_device ;;
luksOpen) _cryptsetup_mapping ;;
esac