lsb 3.1-9 Debian release.
authorChris Lawrence <lawrencc@debian.org>
Sun, 4 Jun 2006 08:08:31 +0000 (04:08 -0400)
committerDidier Raboud <odyx@debian.org>
Sun, 4 Jun 2006 08:08:31 +0000 (04:08 -0400)
debian/changelog
init-functions

index 553951571da5651cd4e80414e2f3c8612384c40f..c0fd22c85f76b9f513f3335feda4573d1167887e 100644 (file)
@@ -1,3 +1,9 @@
+lsb (3.1-9) unstable; urgency=high
+
+  * Add missing < "$pidfile" to read in pidofproc().  (Closes: #370155)
+
+ -- Chris Lawrence <lawrencc@debian.org>  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
index 5a925f02aec6f344bd1493058c314481e8fec000..c606799f357f06fc12e5984862dde7f4716cb596 100644 (file)
@@ -72,7 +72,7 @@ pidofproc () {
     fi
 
     if [ -f "$pidfile" ]; then
-        read pid
+        read pid < "$pidfile"
         if [ -n "${pid:-}" ]; then
             echo "$pid"
             return 0