Commit f063e020 authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Minor debugging code added.

parent 753d793b
...@@ -290,6 +290,7 @@ sub GetRPMFile($$$) ...@@ -290,6 +290,7 @@ sub GetRPMFile($$$)
# Okay, run wget with the proper arguments. # Okay, run wget with the proper arguments.
# #
my $cmd = "wget -q -O $copyfile ". my $cmd = "wget -q -O $copyfile ".
($debug ? "--server-response " : "") .
"'https://${www}/spewrpmtar.php3". "'https://${www}/spewrpmtar.php3".
"?nodeid=${nodeid}&file=${rpm}&key=${keyhash}'"; "?nodeid=${nodeid}&file=${rpm}&key=${keyhash}'";
......
...@@ -333,6 +333,7 @@ sub GetTarFile($$$) ...@@ -333,6 +333,7 @@ sub GetTarFile($$$)
# Okay, run wget with the proper arguments. # Okay, run wget with the proper arguments.
# #
my $cmd = "wget -q -O $copyfile ". my $cmd = "wget -q -O $copyfile ".
($debug ? "--server-response " : "") .
"'https://${www}/spewrpmtar.php3". "'https://${www}/spewrpmtar.php3".
"?nodeid=${nodeid}&file=${tarfile}&key=${keyhash}'"; "?nodeid=${nodeid}&file=${tarfile}&key=${keyhash}'";
......
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