processes bug fix

This commit is contained in:
2026-10-13 14:19:32 +02:00
parent f78bfe5859
commit 25c6b71e59
2 changed files with 13 additions and 5 deletions
+8
View File
@@ -111,6 +111,14 @@ Versions follow `MAJOR.MINOR.PATCH-REVISION_STAGE_N` (e.g. `3.99.1-4_rc_1`).
leaked a variable.
- `packages.sh`: `pkgf ls` now looks the command up in the `PATH`; `pkgs`
accepts patterns starting with `-`; `suse` is recognised in `ID_LIKE`.
- `processes.sh`: `ku -9 user` / `kt -KILL pid` were rejected by option parsing
although documented (kill-style signals are now extracted before `getopt`);
`ku` accepts numeric user IDs (killall only takes names), checks all users
before killing, returns a failure status when a kill fails, and refuses
root and the current user; `kt` no longer re-parses its options for each
child, validates the PID and refuses the current shell; `ppn` matched PIDs
and names such as `kde-bash` (now exact); `ppg`/`gpid` fallbacks no longer
match their own `awk`; `PPU_DEFAULT_FORMAT` documented with its real value.
- `compress.sh`: option flags and loop variables no longer leak into the
interactive shell.