mirror of
https://github.com/jarun/nnn.git
synced 2025-01-11 10:29:36 +00:00
Fix nmount on blank entry
This commit is contained in:
parent
78de6b5752
commit
bd2831498c
|
@ -10,6 +10,11 @@ lsblk
|
|||
echo
|
||||
echo -n "device (e.g. sdc2): "
|
||||
read dev
|
||||
|
||||
if [ -z "$dev" ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo
|
||||
|
||||
if grep -qs "$dev " /proc/mounts; then
|
||||
|
|
Loading…
Reference in a new issue