diff --git a/test/sharness/t0110-gateway.sh b/test/sharness/t0110-gateway.sh index 6d81f3dbed97..23ba2e1951ca 100755 --- a/test/sharness/t0110-gateway.sh +++ b/test/sharness/t0110-gateway.sh @@ -272,7 +272,7 @@ test_expect_success "GET compact blocks succeeds" ' ' test_expect_success "GET TAR file from gateway and extract" ' - curl "http://127.0.0.1:$port/ipfs/$FOO2_HASH?format=tar" || tar -x + curl "http://127.0.0.1:$port/ipfs/$FOO2_HASH?format=tar" | tar -x ' test_expect_success "GET TAR file has expected Content-Type" '