diff --git a/misc/core.func b/misc/core.func index b005c29..cc1bf20 100644 --- a/misc/core.func +++ b/misc/core.func @@ -144,10 +144,10 @@ curl_handler() { while :; do if $has_output_file; then - run_curl "${args[@]}" + $STD run_curl "${args[@]}" exit_code=$? else - result=$(run_curl "${args[@]}") + $STD result=$(run_curl "${args[@]}") exit_code=$? fi