Selaa lähdekoodia
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 vuotta sitten
committed by
GitHub
vanhempi
commit
6e110ae11c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 muutettua tiedostoa jossa
1 lisäystä ja
1 poistoa
-
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 |
|
|
|
} |
|
|
|