Quote | and && to allow passing it to retry (#1506)

This commit is contained in:
Andrew Gaul
2021-01-04 22:28:40 +09:00
committed by GitHub
parent bd0fadbe5f
commit 7158e50ee2

View File

@ -283,7 +283,7 @@ function stop_s3fs {
fi
else
if grep -q $TEST_BUCKET_MOUNT_POINT_1 /proc/mounts; then
retry 10 grep -q $TEST_BUCKET_MOUNT_POINT_1 /proc/mounts && fusermount -u $TEST_BUCKET_MOUNT_POINT_1
retry 10 grep -q $TEST_BUCKET_MOUNT_POINT_1 /proc/mounts "&&" fusermount -u $TEST_BUCKET_MOUNT_POINT_1
fi
fi
}