This website works better with JavaScript.
Home
Explore
Help
Sign In
Immanuel
/
nnn
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Supprt exit on 'q'
master
Arun Prakash Jana
5 years ago
parent
80c35e85bd
commit
23f84df1d8
No known key found for this signature in database
GPG Key ID:
A75979F35C080412
1 changed files
with
2 additions
and
0 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+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
Write
Preview
Loading…
Cancel
Save