Browse Source
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 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
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 |
|
|
|
} |
|
|
|