fix
This commit is contained in:
parent
ff09f4e1c2
commit
34aaa9f3dc
1 changed files with 4 additions and 2 deletions
|
@ -72,8 +72,10 @@ function secureumount() {
|
||||||
umount ${device}1
|
umount ${device}1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if cat /proc/mounts | grep ${usbkeydevice} > /dev/null; then
|
if [ -n ${usbkeydevice} ]; then
|
||||||
umount ${usbkeydevice}
|
if cat /proc/mounts | grep ${usbkeydevice} > /dev/null; then
|
||||||
|
umount ${usbkeydevice}
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue