File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -177,6 +177,7 @@ def main():
177177 msg = ''
178178 table_data = []
179179 alert_count = 0
180+ perfdata = ''
180181
181182 # convert human readable nagios ranges to something that the Linuxfabrik libraries
182183 # can understand
@@ -245,7 +246,7 @@ def main():
245246 state = lib .base .get_worst (state , table_data [i ]['state' ])
246247
247248 # build the message
248- msg += f'{ len (table_data )} { lib .txt .pluralize ("file " , len (table_data ))} checked. '
249+ msg += f'{ len (table_data )} { lib .txt .pluralize ("directory " , len (table_data ))} checked. '
249250 if state == STATE_OK :
250251 msg += (
251252 f'{ lib .txt .pluralize ("" , len (table_data ), "It is,All are" )} '
@@ -281,6 +282,7 @@ def main():
281282 ],
282283 )
283284
285+
284286 # over and out
285287 lib .base .oao (msg , state , always_ok = args .ALWAYS_OK )
286288
You can’t perform that action at this time.
0 commit comments