From 75fcfa303766b6814faecb9f5201cafe61439939 Mon Sep 17 00:00:00 2001 From: Chris Lawrence Date: Sun, 4 Jun 2006 04:08:31 -0400 Subject: [PATCH] lsb 3.1-9 Debian release. --- debian/changelog | 6 ++++++ init-functions | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) 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 -- 2.30.2