diff --git a/CHANGELOG.md b/CHANGELOG.md index b562a7f..04f8ec3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,9 @@ This CHANGELOG follows the format listed [here](https://github.com/sensu-plugins ## [Unreleased] +### Fixed +- check-process.rb: fixed an issue introduced in #61 (@majormoses) + ## [3.0.0] - 2018-03-17 ### Security - updated rubocop dependency to `~> 0.51.0` per: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-8418. (@majormoses) @@ -170,7 +173,8 @@ This CHANGELOG follows the format listed [here](https://github.com/sensu-plugins - built against 1.9.3, 2.0, 2.1 - cryptographically signed -[Unreleased]: https://github.com/sensu-plugins/sensu-plugins-process-checks/compare/3.0.0...HEAD +[Unreleased]: https://github.com/sensu-plugins/sensu-plugins-process-checks/compare/3.0.1...HEAD +[3.0.1]: https://github.com/sensu-plugins/sensu-plugins-process-checks/compare/3.0.0...3.0.1 [3.0.0]: https://github.com/sensu-plugins/sensu-plugins-process-checks/compare/2.7.0...3.0.0 [2.7.0]: https://github.com/sensu-plugins/sensu-plugins-process-checks/compare/2.6.0...2.7.0 [2.6.0]: https://github.com/sensu-plugins/sensu-plugins-process-checks/compare/2.5.0...2.6.0 diff --git a/bin/check-process.rb b/bin/check-process.rb index 381b206..bd34dca 100755 --- a/bin/check-process.rb +++ b/bin/check-process.rb @@ -208,7 +208,7 @@ def line_to_hash(line, *cols) # def on_cygwin? # #YELLOW - `ps -W 2>&1`; $CHILD_STATUS.zero? # rubocop:disable Semicolon + `ps -W 2>&1`; $CHILD_STATUS.exitstatus.zero? # rubocop:disable Semicolon end # Acquire all the proceeses on a system for further analysis diff --git a/lib/sensu-plugins-process-checks/version.rb b/lib/sensu-plugins-process-checks/version.rb index 0179b7b..79f568d 100644 --- a/lib/sensu-plugins-process-checks/version.rb +++ b/lib/sensu-plugins-process-checks/version.rb @@ -2,7 +2,7 @@ module SensuPluginsProcessChecks module Version MAJOR = 3 MINOR = 0 - PATCH = 0 + PATCH = 1 VER_STRING = [MAJOR, MINOR, PATCH].compact.join('.') end