Supprt exit on 'q'

This commit is contained in:
Arun Prakash Jana 2019-06-10 19:47:00 +05:30
parent 80c35e85bd
commit 23f84df1d8
No known key found for this signature in database
GPG key ID: A75979F35C080412

View file

@ -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