forked from termux/termux-packages
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
procps: Make -f/--full the default for pgrep&pkill
Without -f/--full, pgrep&pkill matches searches by default only on the binary name, which will not work with the changes proposed in termux/termux-exec#24, as there the binary will always be /system/bin/linker64.
- Loading branch information
Showing
2 changed files
with
13 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
diff -u -r ../src-orig/pgrep.c ./pgrep.c | ||
--- ../src-orig/pgrep.c 2023-10-02 11:04:29.715645019 +0000 | ||
+++ ./pgrep.c 2023-10-02 11:17:10.632452771 +0000 | ||
@@ -80,7 +80,7 @@ | ||
|
||
/* User supplied arguments */ | ||
|
||
-static int opt_full = 0; | ||
+static int opt_full = 1; | ||
static int opt_long = 0; | ||
static int opt_longlong = 0; | ||
static int opt_oldest = 0; |