瀏覽代碼

Supprt exit on 'q'

master
Arun Prakash Jana 5 年之前
父節點
當前提交
23f84df1d8
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: A75979F35C080412
共有 1 個檔案被更改,包括 2 行新增0 行删除
  1. +2
    -0
      plugins/nmount

+ 2
- 0
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


Loading…
取消
儲存