Don't loop on fusermount if mountpoint is gone

This commit is contained in:
Robb Kistler 2015-12-15 15:07:00 -08:00
parent 8162d4925d
commit 1927ccfe0a

View File

@ -49,7 +49,7 @@ function exit_handler {
then then
kill $S3PROXY_PID kill $S3PROXY_PID
fi fi
retry 30 fusermount -u $TEST_BUCKET_MOUNT_POINT_1 retry 30 grep $TEST_BUCKET_MOUNT_POINT_1 /proc/mounts && fusermount -u $TEST_BUCKET_MOUNT_POINT_1
} }
trap exit_handler EXIT trap exit_handler EXIT