Fix typo
authorJamie Cameron <jcameron@webmin.com>
Fri, 10 Sep 2010 04:57:16 +0000 (21:57 -0700)
committerJamie Cameron <jcameron@webmin.com>
Fri, 10 Sep 2010 04:57:16 +0000 (21:57 -0700)
bind8/bind8-lib.pl

index 4593305..eec7b14 100755 (executable)
@@ -1768,7 +1768,7 @@ else {
 
 local $temp = &transname();
 local $rv = &system_logged("$cmd </dev/null >$temp 2>&1");
-local $out = `cat $temp`;
+local $out = &read_file_contents($temp);
 unlink($temp);
 if ($rv || $out =~ /chroot.*not available/i) {
        return &text('start_error', $out ? "<tt>$out</tt>" : "Unknown error");