diff --git a/ext/hbsdctl.rb/feature.c b/ext/hbsdctl.rb/feature.c index 2322e17..5b0c143 100644 --- a/ext/hbsdctl.rb/feature.c +++ b/ext/hbsdctl.rb/feature.c @@ -62,6 +62,7 @@ bsdcontrol_feature_set(VALUE self, VALUE path, VALUE rbstate) } else { + close(fd); return Qtrue; } }