Fixing the rc.d example script. - geomyidae - A small C-based gopherd. HTML git clone git://bitreich.org/geomyidae/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/geomyidae/ DIR Log DIR Files DIR Refs DIR Tags DIR README DIR LICENSE --- DIR commit 770d313bfd0e4c3ca2e46e8925be0e4a576a359e DIR parent 25281fad7fb966c8027f1ddc0161e78efa0b26c7 HTML Author: Christoph Lohmann <20h@r-36.net> Date: Sun, 27 Feb 2011 15:16:30 +0100 Fixing the rc.d example script. Diffstat: M main.c | 1 - M rc.d/Archlinux.rc.d | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) --- DIR 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); DIR 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