[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Git][glibc-team/glibc][sid] libc.preinst: Avoid using pidof



Title: GitLab

Aurelien Jarno pushed to branch sid at GNU Libc Maintainers / glibc

Commits:

  • 309ee6f5
    by Gioele Barabucci at 2022-09-21T21:54:06+00:00
    libc.preinst: Avoid using pidof
    
    The use of `pidof` creates an implicit depency on `sysvinit-utils`.
    `sysvinit-utils` is currently Essential, but that may change in the
    future.
    
    This specific use of `pidof` (finding if a process is running) is
    simple enough to be replaced with `grep`'ing `/proc/*/cmdline`.
    

1 changed file:


Reply to: