mirror of
https://github.com/jarun/nnn.git
synced 2024-11-24 11:51:27 +00:00
Supprt exit on 'q'
This commit is contained in:
parent
80c35e85bd
commit
23f84df1d8
|
@ -29,6 +29,8 @@ while ! [ -z "$dev" ]
|
|||
do
|
||||
if [ "$dev" = "l" ]; then
|
||||
lsblk
|
||||
elif [ "$dev" = "q" ]; then
|
||||
exit
|
||||
else
|
||||
if grep -qs "$dev " /proc/mounts; then
|
||||
sync
|
||||
|
|
Loading…
Reference in a new issue