diff --git a/README.md b/README.md index d675818..3c37feb 100644 --- a/README.md +++ b/README.md @@ -54,7 +54,7 @@ It will also create a inventory of all components of a system. R.I.P. IPMI -Version: 1.8.0 (2024-09-13) +Version: 1.8.1 (2024-10-22) mandatory arguments: -H HOST, --host HOST define the host to request. To change the port just diff --git a/check_redfish.py b/check_redfish.py index 9f45fcc..b0d97f6 100755 --- a/check_redfish.py +++ b/check_redfish.py @@ -16,8 +16,8 @@ R.I.P. IPMI """ -__version__ = "1.8.0" -__version_date__ = "2024-09-13" +__version__ = "1.8.1" +__version_date__ = "2024-10-22" __author__ = "Ricardo Bartels " __description__ = "Check Redfish Plugin" __license__ = "MIT" diff --git a/cr_module/classes/redfish.py b/cr_module/classes/redfish.py index fad5ba5..6db403e 100644 --- a/cr_module/classes/redfish.py +++ b/cr_module/classes/redfish.py @@ -263,7 +263,7 @@ def is_session_locked(self): def write_session_lock(self): if self.cli_args.sessionlock is True and \ self.session_file_path is not None and \ - os.path.exists(self.session_file_lock): + os.path.exists(self.session_file_path): try: with open(self.session_file_lock, 'w') as handle: