Commit 7e33de51 authored by Mike Hibler's avatar Mike Hibler
Browse files

Argh! 0 != "0"

parent b2407f0d
......@@ -301,7 +301,7 @@ $jailuuid = $1;
#
if ($limits) {
my $enabled = `sysctl -in kern.racct.enable 2>/dev/null`;
if ($? || !$enabled) {
if ($? || $enabled == 0) {
$haverctl = 0;
} else {
$haverctl = 1;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment