Skip to content

Commit

Permalink
Change: nasl linter error count message (#1060)
Browse files Browse the repository at this point in the history
Now has the format "%d scripts with one or more errors found\n" instead of "%d errors found", because it counts scripts errors and not total errors (a script can have more than one error)
  • Loading branch information
jjnicola committed Mar 21, 2022
1 parent 893c2b2 commit 46b3c2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nasl/nasl-lint.c
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ main (int argc, char **argv)
if (nvt_files != NULL)
err += process_files (nvt_files, mode, script_infos);

g_print ("%d errors found\n", err);
g_print ("%d scripts with one or more errors found\n", err);

g_free (script_infos);

Expand Down

0 comments on commit 46b3c2c

Please sign in to comment.