summaryrefslogtreecommitdiff
path: root/cryptfs.bin.in
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-10-28 23:31:00 +0200
committerErich Eckner <git@eckner.net>2017-10-28 23:31:00 +0200
commitd69c0fce3c6550a0dd204be79606d1f053038137 (patch)
tree5c47092b32c9893431294a8ee1ef19d4b6b75fa3 /cryptfs.bin.in
parentd079e330e35093c0f821d1f1d007ccd9c004dd0c (diff)
downloadcryptfs-daemon-d69c0fce3c6550a0dd204be79606d1f053038137.tar.xz
bugfixesv0.4
Diffstat (limited to 'cryptfs.bin.in')
-rw-r--r--cryptfs.bin.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/cryptfs.bin.in b/cryptfs.bin.in
index fde3bd0..9ef4245 100644
--- a/cryptfs.bin.in
+++ b/cryptfs.bin.in
@@ -162,11 +162,11 @@ do_mount() {
max_wait=$(($(date +%s)+120))
host=$(
mount_details dev "$1" | \
- sed 's>^\([^:@]*@\)\?\([^:@]\+\):\S*$>\2>"
+ sed 's>^\([^:@]*@\)\?\([^:@]\+\):\S*$>\2>'
)
while [ $(date +%s) -lt ${max_wait} ] && \
- ! /bin/ping6 -c1 ${host} >/dev/null 2>&1 && \
- ! /bin/ping -c1 ${host} >/dev/null 2>&1; do
+ ! #PING6# -c1 "${host}" >/dev/null 2>&1 && \
+ ! ping -c1 "${host}" >/dev/null 2>&1; do
>&2 printf ','
sleep 1
done