A monitoring/inventory plugin to check components and health status of systems which support Redfish. It will also create a inventory of all components of a system.
MIT License
115
stars
34
forks
source link
Fix --sessionlock option to properly check directory before file creation #138
Resolved an issue with the --sessionlock option where the lock file was never written. The code was incorrectly checking for the existence of the file rather than the directory. Updated the logic to ensure the directory is checked before attempting to create the session lock file, allowing the file to be written as intended.
With this change I could successfully test that it prevents multiple sessions.
Resolved an issue with the --sessionlock option where the lock file was never written. The code was incorrectly checking for the existence of the file rather than the directory. Updated the logic to ensure the directory is checked before attempting to create the session lock file, allowing the file to be written as intended.
With this change I could successfully test that it prevents multiple sessions.
Regards Marcel