Skip to content

Commit

Permalink
about-me: Fix code
Browse files Browse the repository at this point in the history
  • Loading branch information
markuslf committed Mar 25, 2024
1 parent fddd611 commit 2d714a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions check-plugins/about-me/about-me
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ except ImportError:


__author__ = 'Linuxfabrik GmbH, Zurich/Switzerland'
__version__ = '2024032501'
__version__ = '2024032502'

DESCRIPTION = 'Reports a quick overview about the host dimensions and installed software.'

Expand Down Expand Up @@ -989,7 +989,7 @@ def find_software(): # pylint: disable=R0915
}

output = run_cmd('openvas version')
if not output or (isinstance(output) == str and not output.startswith('OpenVAS')):
if not output or (isinstance(output, str) and not output.startswith('OpenVAS')):
# starting with OpenVAS 22.7.9:
output = run_cmd('openvas --version')
s['openvas'] = {
Expand Down

0 comments on commit 2d714a3

Please sign in to comment.