ソースを参照
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キーID: 4AEE18F83AFDEB23
-
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 |
|
|
|
} |
|
|
|