We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ef59be6 + 38fea51 commit 22e26b7Copy full SHA for 22e26b7
1 file changed
functions
@@ -50,7 +50,7 @@ deactivate_crypt() {
50
if [ -x /sbin/dmsetup -o -x /bin/dmsetup ]; then
51
msg "Deactivating Crypt Volumes"
52
for v in $(dmsetup ls --target crypt --exec "dmsetup info -c --noheadings -o open,name"); do
53
- [ ${v%%:*} -eq 0 ] && cryptsetup close ${v##*:}
+ [ ${v%%:*} = "0" ] && cryptsetup close ${v##*:}
54
done
55
deactivate_vgs "Crypt"
56
fi
0 commit comments