1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-14 09:14:58 +00:00

pkill: Initialize display_number_of_matches to false

This ensures the number of matches is not displayed when the `-c`
option is not specified.
This commit is contained in:
Tim Ledbetter 2023-06-15 18:24:51 +01:00 committed by Andreas Kling
parent cbf84152df
commit 0d71db6721

View file

@ -25,7 +25,7 @@ ErrorOr<int> serenity_main(Main::Arguments args)
TRY(Core::System::unveil("/etc/passwd", "r"));
TRY(Core::System::unveil(nullptr, nullptr));
bool display_number_of_matches;
bool display_number_of_matches = false;
bool case_insensitive = false;
bool echo = false;
bool exact_match = false;