git: installer(8): Use pgrep(1) to check frontend/backend processes
Aaron LI
aly at crater.dragonflybsd.org
Mon Feb 23 23:29:54 PST 2026
commit 6d19bcc98e7110b23e16b2b63d81c8fd3231d16f
Author: Aaron LI <aly at aaronly.me>
Date: Sun Feb 22 17:23:43 2026 +0800
installer(8): Use pgrep(1) to check frontend/backend processes
Use 'pgrep -x' to correctly match the frontend/backend processes. This
is simpler than the original ps+grep method and fixes the partial match
problem. For example, the old grep would incorrectly match the tail(1)
process that was checking the `dfuibe_installer_debug.log` or
`dfuife_curses_debug.log` debug logs.
Summary of changes:
usr.sbin/installer/installer/installer.sh | 25 ++++---------------------
1 file changed, 4 insertions(+), 21 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/6d19bcc98e7110b23e16b2b63d81c8fd3231d16f
--
DragonFly BSD source repository
More information about the Commits
mailing list