diff options
author | Holger Levsen <holger@layer-acht.org> | 2010-12-04 11:22:08 +0000 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2010-12-04 11:22:08 +0000 |
commit | 4e7b12ecaddfbc37cfffa0ffd3251eff29d63edf (patch) | |
tree | 6769055f7ab45cffb4cc6197e2178f8feeef7940 /sitesummary-upload | |
parent | 5249b4130664c744c8b8ae32dacd004c069a530f (diff) | |
download | sitesummary-4e7b12ecaddfbc37cfffa0ffd3251eff29d63edf.tar.gz sitesummary-4e7b12ecaddfbc37cfffa0ffd3251eff29d63edf.tar.bz2 sitesummary-4e7b12ecaddfbc37cfffa0ffd3251eff29d63edf.tar.xz |
sitesummary-upload: correct check for empty http_proxy variable.
Diffstat (limited to 'sitesummary-upload')
-rwxr-xr-x | sitesummary-upload | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sitesummary-upload b/sitesummary-upload index 04aaf4b..050aefa 100755 --- a/sitesummary-upload +++ b/sitesummary-upload @@ -31,7 +31,7 @@ print "Unable to parse url\n" if ($opts{'d'} && ! $host); my ($http_proxy,$proxy,$port,$remote); $http_proxy=$ENV{'http_proxy'}; -if (defined($http_proxy) && $http_proxy) +if (defined($http_proxy) && length($http_proxy)) { $http_proxy =~ m{http://([^:]*)(?::([0-9]+))?} or die ("unrecognized http_proxy"); |