summaryrefslogtreecommitdiffstats
path: root/lib/Sbuild/ChrootSchroot.pm
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 13:47:24 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 13:47:24 +0000
commit046f5fb765312e9ca387a2642099d4f5ec0f4eaa (patch)
tree192457ff422b24b0c57333cc75dba80ca79fa50c /lib/Sbuild/ChrootSchroot.pm
parentAdding upstream version 0.85.6. (diff)
downloadsbuild-upstream/0.85.7.tar.xz
sbuild-upstream/0.85.7.zip
Adding upstream version 0.85.7.upstream/0.85.7
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'lib/Sbuild/ChrootSchroot.pm')
-rw-r--r--lib/Sbuild/ChrootSchroot.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Sbuild/ChrootSchroot.pm b/lib/Sbuild/ChrootSchroot.pm
index 8c88284..0dc8a95 100644
--- a/lib/Sbuild/ChrootSchroot.pm
+++ b/lib/Sbuild/ChrootSchroot.pm
@@ -132,7 +132,7 @@ sub get_command_internal {
return if $self->get('Session ID') eq "";
- if (defined($options->{'DISABLE_NETWORK'}) && $options->{'DISABLE_NETWORK'}) {
+ if (defined($options->{'ENABLE_NETWORK'}) && $options->{'ENABLE_NETWORK'} == 0) {
print STDERR "Disabling the network for this command was requested but the schroot backend doesn't support this feature yet: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=802849\n" if $self->get_conf('DEBUG');
}