This commit is contained in:
simono41 2018-04-01 17:26:56 +02:00
parent 2d4aefa88e
commit d9229d71da

View file

@ -72,7 +72,7 @@ function secureumount() {
umount ${device}1 umount ${device}1
fi fi
if [ -n ${usbkeydevice} ]; then if [ -n "${usbkeydevice}" ]; then
if cat /proc/mounts | grep ${usbkeydevice} > /dev/null; then if cat /proc/mounts | grep ${usbkeydevice} > /dev/null; then
umount ${usbkeydevice} umount ${usbkeydevice}
fi fi