Skip to content

Commit 898ce0d

Browse files
strip newline to status
1 parent b0b5b2c commit 898ce0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/ingest_demo_data.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ curl_with_retry() {
8787

8888
# Execute curl and capture status code and stderr
8989
local status_code
90-
status_code=$(curl "${curl_args[@]}" 2>"$stderr_file")
90+
status_code=$(curl "${curl_args[@]}" 2>"$stderr_file" | tr -d '\n')
9191
local curl_exit_code=$?
9292

9393
# Check curl exit code

0 commit comments

Comments
 (0)