Skip to content

Commit

Permalink
Returned logic to suppress too verbose output from s3cmd
Browse files Browse the repository at this point in the history
  • Loading branch information
pavel-odintsov committed May 23, 2023
1 parent e22d634 commit 64736db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scripts/perllib/Fastnetmon.pm
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ sub get_library_binary_build_from_google_storage {

# print "Will use following path to retrieve dependency: $binary_path\n";
my $download_file_return_code =
system("s3cmd --disable-multipart --host=storage.googleapis.com --host-bucket=\"%(bucket).storage.googleapis.com\" get $binary_path /tmp/$dependency_archive_name");
system("s3cmd --disable-multipart --host=storage.googleapis.com --host-bucket=\"%(bucket).storage.googleapis.com\" get $binary_path /tmp/$dependency_archive_name >/dev/null 2>&1");

if ($download_file_return_code != 0) {
my $real_exit_code = $download_file_return_code >> 8;
Expand Down

0 comments on commit 64736db

Please sign in to comment.