Bug#331299: exim4: bashisms in init script

Justin Pryzby justinpryzby at users.sourceforge.net
Sun Oct 2 21:31:17 UTC 2005


Package: exim4
Severity: normal
Version: 4.52-1
File: /etc/init.d/exim4

The exim4 initscript /etc/init.d/exim4 uses:

#!/bin/sh

and

kill_all_exims()
{
  SIG="${1:-TERM}"
  for pid in $(pidof $NAME); do
    if [ "$(readlink /proc/$pid/root)" == "/" ]; then
      kill -$SIG $pid
    fi
  done
}

Isn't '$(' a bashism (That's what the vim maintainer said in #319825)




More information about the Pkg-exim4-maintainers mailing list