Browse Source

Supprt exit on 'q'

master
Arun Prakash Jana 5 years ago
parent
commit
23f84df1d8
No known key found for this signature in database GPG Key ID: A75979F35C080412
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      plugins/nmount

+ 2
- 0
plugins/nmount View File

@@ -29,6 +29,8 @@ while ! [ -z "$dev" ]
do do
if [ "$dev" = "l" ]; then if [ "$dev" = "l" ]; then
lsblk lsblk
elif [ "$dev" = "q" ]; then
exit
else else
if grep -qs "$dev " /proc/mounts; then if grep -qs "$dev " /proc/mounts; then
sync sync


Loading…
Cancel
Save