Skip to content

Commit 440dd28

Browse files
committed
fix message
1 parent c4a6394 commit 440dd28

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

check-plugins/dir-size/dir-size

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,9 @@ def main():
245245
state = lib.base.get_worst(state, table_data[i]['state'])
246246

247247
# build the message
248-
msg += f'{len(table_data)} {lib.txt.pluralize("file", len(table_data))} checked. '
248+
msg += (
249+
f'{len(table_data)} {lib.txt.pluralize("directory", len(table_data))} checked. '
250+
)
249251
if state == STATE_OK:
250252
msg += (
251253
f'{lib.txt.pluralize("", len(table_data), "It is,All are")}'

0 commit comments

Comments
 (0)