diff options
| author | 2019-06-10 19:47:00 +0530 | |
|---|---|---|
| committer | 2019-06-10 19:47:00 +0530 | |
| commit | 23f84df1d8722591ea93aa1dd84f313cebbf3548 (patch) | |
| tree | 5a1ebc69f419282cde6b2fbc0ad62b6adbda8eee /plugins/nmount | |
| parent | 80c35e85bde4f114d22dc8ded2583ce52a402a79 (diff) | |
| download | nnn-23f84df1d8722591ea93aa1dd84f313cebbf3548.tar.gz | |
Supprt exit on 'q'
Diffstat (limited to 'plugins/nmount')
| -rwxr-xr-x | plugins/nmount | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/nmount b/plugins/nmount index dc3e577..9fb4e90 100755 --- a/plugins/nmount +++ b/plugins/nmount @@ -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 |