| Fixing the rc.d example script. - geomyidae - A small C-based gopherd. | |
| git clone git://bitreich.org/geomyidae/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfri… | |
| Log | |
| Files | |
| Refs | |
| Tags | |
| README | |
| LICENSE | |
| --- | |
| commit 770d313bfd0e4c3ca2e46e8925be0e4a576a359e | |
| parent 25281fad7fb966c8027f1ddc0161e78efa0b26c7 | |
| Author: Christoph Lohmann <[email protected]> | |
| 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(-) | |
| --- | |
| 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 |