Skip to content

Commit

Permalink
Correct cookstyle offense
Browse files Browse the repository at this point in the history
Change-Id: I4a772cefa861f3c364d828c2cba03fea6f4bac23
  • Loading branch information
kamaradclimber committed Feb 8, 2017
1 parent 5381193 commit f478d74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/helpers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def nssm_service_installed?
# 1 is command not found
# 3 is service not found
exit_code = shell_out!(%{"#{nssm_exe}" status consul}, returns: [0, 1, 3]).exitstatus
exit_code.zero?
exit_code == 0
end

def nssm_service_status?(expected_status)
Expand Down

0 comments on commit f478d74

Please sign in to comment.