Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suppress warnings about uninitialized value #1336

Merged
merged 1 commit into from
Feb 9, 2024

Conversation

theseal
Copy link
Contributor

@theseal theseal commented Feb 9, 2024

If directory doesn't exist the maintainance script warning about uninitialized value(s).

root@e080ba9fd208:/# /usr/bin/thruk maintenance
running maintenance jobs:
  - sessions            : removed     0 /     0 old sessions
Use of uninitialized value in sprintf at /usr/share/thruk/lib/Thruk/Utils/Log.pm line 138.
Use of uninitialized value in sprintf at /usr/share/thruk/lib/Thruk/Utils/Log.pm line 138.
  - user files          : removed     0 /     0 unused user files
  - jobs                : removed     0 /     0 old job folders
maintenance complete

If directory doesn't exist the maintainance script warning about uninitialized
value(s).

```
root@e080ba9fd208:/# /usr/bin/thruk maintenance
running maintenance jobs:
  - sessions            : removed     0 /     0 old sessions
Use of uninitialized value in sprintf at /usr/share/thruk/lib/Thruk/Utils/Log.pm line 138.
Use of uninitialized value in sprintf at /usr/share/thruk/lib/Thruk/Utils/Log.pm line 138.
  - user files          : removed     0 /     0 unused user files
  - jobs                : removed     0 /     0 old job folders
maintenance complete
```
@sni sni merged commit 3b7090a into sni:master Feb 9, 2024
1 check passed
@sni
Copy link
Owner

sni commented Feb 9, 2024

thanks, much appreciated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants