git: DragonFly_RELEASE_6_4 installer(8): Use pgrep(1) to check frontend/backend processes
Aaron LI
aly at crater.dragonflybsd.org
Tue Feb 24 03:38:37 PST 2026
commit e2e1ce55535135bd657f04453ebe647264fe359c
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/e2e1ce55535135bd657f04453ebe647264fe359c
--
DragonFly BSD source repository
More information about the Commits
mailing list