Skip to content

Commit

Permalink
Fix unix_defaults not respecting options being set to false
Browse files Browse the repository at this point in the history
  • Loading branch information
2called-chaos committed Jan 16, 2020
1 parent fd9c778 commit 9b123a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/watchmonkey_cli/checkers/unix_defaults.rb
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def check! result, host, opts = {}
# sec.check!(result, host, opts[which])
# end
# app.enqueue_sub(self, which, host, opts[which]) if opts[which]
spawn_sub(which, host, opts[which].is_a?(Hash) ? opts[which] : {})
spawn_sub(which, host, opts[which].is_a?(Hash) ? opts[which] : {}) unless opts[which] == false
end
end
end
Expand Down

0 comments on commit 9b123a9

Please sign in to comment.