This fixes:
- one bug introduced by the fix for #327405 in 3.0-6, which stopped using the
`line` variable;
- one bug introduced in 3.2-20, which started to use the `base` variable
without declaring it in local.
Closes: #663351
Reported-by: Liu Yubao <yubao.liu@gmail.com>
Signed-off-by: Didier Raboud <odyx@debian.org>
}
pidofproc () {
- local pidfile line status specified pid
+ local pidfile base status specified pid
pidfile=
specified=