From: Chris Lawrence Date: Sun, 4 Jun 2006 08:08:31 +0000 (-0400) Subject: lsb 3.1-9 Debian release. X-Git-Tag: archive/raspbian/10.2018112800+rpi1^2~242 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=75fcfa303766b6814faecb9f5201cafe61439939;p=lsb.git lsb 3.1-9 Debian release. --- diff --git a/debian/changelog b/debian/changelog index 5539515..c0fd22c 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +lsb (3.1-9) unstable; urgency=high + + * Add missing < "$pidfile" to read in pidofproc(). (Closes: #370155) + + -- Chris Lawrence Sun, 4 Jun 2006 04:08:31 -0400 + lsb (3.1-8) unstable; urgency=low * Fix killproc() to work if signal isn't specified; also fix the diff --git a/init-functions b/init-functions index 5a925f0..c606799 100644 --- a/init-functions +++ b/init-functions @@ -72,7 +72,7 @@ pidofproc () { fi if [ -f "$pidfile" ]; then - read pid + read pid < "$pidfile" if [ -n "${pid:-}" ]; then echo "$pid" return 0