From af555d76949c6193df232eb0d90e04c323b459ca Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 9 Dec 2014 20:43:12 +0100 Subject: Doh --- scripts/download-from-binary-cache.pl.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') 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"} // -- cgit 1.4.1