commit 23f84df1d8722591ea93aa1dd84f313cebbf3548 parent 80c35e85bde4f114d22dc8ded2583ce52a402a79 Author: Arun Prakash Jana <engineerarun@gmail.com> Date: Mon, 10 Jun 2019 19:47:00 +0530 Supprt exit on 'q' Diffstat:
| M | plugins/nmount | | | 2 | ++ |
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git 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