Skip to content

Commit b471f4e

Browse files
committed
fixes #63 which was caused in #62
1 parent 84c6457 commit b471f4e

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

CHANGELOG.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ This project adheres to [Semantic Versioning](http://semver.org/).
44
This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachangelog.com/)
55

66
## [Unreleased]
7+
## [3.0.1] - 2017-07-07
8+
### Fixed
9+
- check-memory.sh: fixed a syntax error preventing it from running (@majormoses)
10+
711
### [3.0.0] - 2017-07-07
812
### Added
913
- ruby 2.4 testing (@majormoses)
@@ -105,7 +109,8 @@ This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachang
105109
### Added
106110
- initial release
107111

108-
[unreleased]: https://github.com/sensu-plugins/sensu-plugins-memory-checks/compare/3.0.0...HEAD
112+
[unreleased]: https://github.com/sensu-plugins/sensu-plugins-memory-checks/compare/3.0.1...HEAD
113+
[3.0.1]: https://github.com/sensu-plugins/sensu-plugins-memory-checks/compare/https://github.com/sensu-plugins/sensu-plugins-memory-checks/compare/3.0.0...3.0.1
109114
[3.0.0]: https://github.com/sensu-plugins/sensu-plugins-memory-checks/compare/2.1.0...3.0.0
110115
[2.1.0]: https://github.com/sensu-plugins/sensu-plugins-memory-checks/compare/2.0.0...2.1.0
111116
[2.0.0]: https://github.com/sensu-plugins/sensu-plugins-memory-checks/compare/1.0.2...2.0.0

bin/check-memory.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ if [ "$hlp" = "yes" ]; then
4141
exit 0
4242
fi
4343

44-
if [ -z "$WARN"] || [ -z "$CRIT" ]; then
44+
if [ -z "$WARN" ] || [ -z "$CRIT" ]; then
4545
echo "You must provide both warning and critical values"
4646
exit 3
4747
fi

lib/sensu-plugins-memory-checks/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ module SensuPluginsMemoryChecks
22
module Version
33
MAJOR = 3
44
MINOR = 0
5-
PATCH = 0
5+
PATCH = 1
66

77
VER_STRING = [MAJOR, MINOR, PATCH].compact.join('.')
88
end

0 commit comments

Comments
 (0)