From 23f84df1d8722591ea93aa1dd84f313cebbf3548 Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Mon, 10 Jun 2019 19:47:00 +0530 Subject: [PATCH] Supprt exit on 'q' --- plugins/nmount | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/nmount b/plugins/nmount index dc3e577a..9fb4e900 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