瀏覽代碼
Use findmnt
Use findmnt instead of mount | grep
findmnt is part of util-linux and should be available on almost all systems
pull/130/head
MegaV0lt
4 年之前
committed by
GitHub
沒有發現已知的金鑰在資料庫的簽署中
GPG Key ID: 4AEE18F83AFDEB23
共有
1 個文件被更改,包括
1 次插入 和
1 次删除
-
log2ram
|
|
@@ -56,7 +56,7 @@ syncFromDisk () { |
|
|
|
} |
|
|
|
|
|
|
|
wait_for () { |
|
|
|
while ! mount | grep "$1" > /dev/null; do |
|
|
|
while ! findmnt "$1" > /dev/null; do |
|
|
|
sleep 0.1 |
|
|
|
done |
|
|
|
} |
|
|
|