nnn

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit bd2831498c812df98ee481bfa7e00bf4dc8c52ed
parent 78de6b575286e1bf33744abc01f93a5ca8563d78
Author: Arun Prakash Jana <engineerarun@gmail.com>
Date:   Sun, 21 Apr 2019 12:14:03 +0530

Fix nmount on blank entry

Diffstat:
Mplugins/nmount | 5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

diff --git a/plugins/nmount b/plugins/nmount @@ -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