Commit f2381b07 authored by Mike Hibler's avatar Mike Hibler
Browse files

Deep six the "dd" command stderr output.

parent a7a3bc78
...@@ -897,7 +897,7 @@ sub FetchMetadata($) ...@@ -897,7 +897,7 @@ sub FetchMetadata($)
my $safe_url = User::escapeshellarg($url); my $safe_url = User::escapeshellarg($url);
my $opts = ($debug ? "" : "-q"); my $opts = ($debug ? "" : "-q");
my $cmd = "$WGET $opts --no-check-certificate -O - $safe_url "; my $cmd = "$WGET $opts --no-check-certificate -O - $safe_url ";
$cmd .= "| $DD bs=1 count=5k "; $cmd .= "| $DD 2>/dev/null bs=1 count=5k ";
if ($debug) { if ($debug) {
print "$cmd\n"; print "$cmd\n";
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment