Skip to content

Commit

Permalink
Put back old chroot semantics
Browse files Browse the repository at this point in the history
  • Loading branch information
jcameron committed Feb 15, 2008
1 parent e554981 commit 917e7b0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions bind8/bind8-lib.pl
Original file line number Diff line number Diff line change
Expand Up @@ -1326,10 +1326,12 @@ sub get_chroot
local $out = `$config{'auto_chroot'} 2>/dev/null`;
if (!$?) {
$out =~ s/\r|\n//g;
$get_chroot_cache = $out;
$get_chroot_cache = $out || "";
}
}
$get_chroot_cache ||= $config{'chroot'};
if (!defined($get_chroot_cache)) {
$get_chroot_cache = $config{'chroot'};
}
}
return $get_chroot_cache;
}
Expand Down

0 comments on commit 917e7b0

Please sign in to comment.