geomyidae

A small C-based gopherd. (gopher://bitreich.org/1/scm/geomyidae)
git clone git://r-36.net/geomyidae
Log | Files | Refs | README | LICENSE

commit 770d313bfd0e4c3ca2e46e8925be0e4a576a359e
parent 25281fad7fb966c8027f1ddc0161e78efa0b26c7
Author: Christoph Lohmann <20h@r-36.net>
Date:   Sun, 27 Feb 2011 15:16:30 +0100

Fixing the rc.d example script.

Diffstat:
main.c | 1-
rc.d/Archlinux.rc.d | 2+-
2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/main.c b/main.c @@ -390,7 +390,6 @@ main(int argc, char *argv[]) case 0: handlerequest(sock, base, ohost, sport, clienth, clientp); - return 1; default: wait(&opt); close(sock); diff --git a/rc.d/Archlinux.rc.d b/rc.d/Archlinux.rc.d @@ -18,7 +18,7 @@ case "$1" in ;; stop) stat_busy "Stopping geomyidae" - [ ! -z "$PID" ] && kill $PID &>/dev/null + [ ! -z "$PID" ] && kill -KILL $PID &>/dev/null if [ $? -gt 0 ]; then stat_fail else