First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 209115
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Network Proxy Developers <net-proxy@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Natanael Copa <natanael.copa@gmail.com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 209115 depends on: Show dependency tree
Bug 209115 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2008-02-06 10:44 0000
trivial to make it play nice with busybox and other non-bash shells:

--- data.orig/etc/init.d/tinyproxy      2007-09-20 14:58:55 +0000
+++ data/etc/init.d/tinyproxy   2008-02-06 10:40:10 +0000
@@ -17,10 +17,10 @@
 stop() {
        local pid=0
        if [ -f /var/run/tinyproxy.pid ] ; then
-               pid=$(</var/run/tinyproxy.pid)
+               pid=$(cat /var/run/tinyproxy.pid)
                rm /var/run/tinyproxy.pid
        fi
        ebegin "Stopping tinyproxy"
-       [ ${pid} -ne 0 ] && kill ${pid}
+       [ "${pid}" -ne 0 ] && kill "${pid}"
        eend $?
 }

------- Comment #1 From Alin Năstac 2008-02-16 07:13:14 0000 -------
Fixed in cvs.

The init script was a joke, so I rewrote it from scratch and revbumped the
package.

First Last Prev Next    No search results available      Search page      Enter new bug