about summary refs log tree commit diff
path: root/scripts/download-from-binary-cache.pl.in
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-12-09T19·43+0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-12-09T19·43+0100
commitaf555d76949c6193df232eb0d90e04c323b459ca (patch)
treeba636d8e6127664f396440037376a48e4c09e4d0 /scripts/download-from-binary-cache.pl.in
parentd44d923be971a9f9a05b156e20fe2b26151826a9 (diff)
Doh
Diffstat (limited to 'scripts/download-from-binary-cache.pl.in')
-rw-r--r--scripts/download-from-binary-cache.pl.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/download-from-binary-cache.pl.in b/scripts/download-from-binary-cache.pl.in
index 0e640ee34757..6285a0503682 100644
--- a/scripts/download-from-binary-cache.pl.in
+++ b/scripts/download-from-binary-cache.pl.in
@@ -52,7 +52,7 @@ sub isTrue {
     return $x eq "true" || $x eq "1";
 }
 
-my $requireSignedBinaryCaches = isTrue($Nix::Config::config{"signed-binary-caches"} // "0");
+my $requireSignedBinaryCaches = ($Nix::Config::config{"signed-binary-caches"} // "0") ne "0";
 
 my $curlConnectTimeout = int(
     $Nix::Config::config{"untrusted-connect-timeout"} //