git: installer: Fix process killing issue in installer.sh

Aaron LI aly at crater.dragonflybsd.org
Fri May 15 23:51:17 PDT 2020


commit 469fd6066cfafcc63a1257c6abfcf7a864676854
Author: Aaron LI <aly at aaronly.me>
Date:   Sat May 16 14:43:20 2020 +0800

    installer: Fix process killing issue in installer.sh
    
    The original way of obtaining PIDs is actually wrong, becuase it would
    get the user of processes instead of the process ID.
    
    Directly use killall(1) to fix the issue as well as clean the code.

Summary of changes:
 usr.sbin/installer/installer/installer.sh | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/469fd6066cfafcc63a1257c6abfcf7a864676854


-- 
DragonFly BSD source repository


More information about the Commits mailing list