mirror of
https://github.com/osmarks/ngircd.git
synced 2025-06-22 08:14:09 +00:00
- PID des Test-Servers wird besser ermittelt.
This commit is contained in:
parent
05bf66dff0
commit
3f873b0c39
@ -1,10 +1,11 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# ngIRCd Test Suite
|
# ngIRCd Test Suite
|
||||||
# $Id: stop-server.sh,v 1.1 2002/09/09 10:16:24 alex Exp $
|
# $Id: stop-server.sh,v 1.2 2002/09/12 02:27:47 alex Exp $
|
||||||
|
|
||||||
echo " stopping server ..."
|
echo " stopping server ..."
|
||||||
|
|
||||||
pid=`ps a | grep ngircd-test | head -n 1 | cut -d ' ' -f 1`
|
ps a > procs.tmp
|
||||||
|
pid=`cat procs.tmp | grep ngircd-TEST | awk "{ print \\\$1 }"`
|
||||||
kill $pid > /dev/null 2>&1
|
kill $pid > /dev/null 2>&1
|
||||||
|
|
||||||
# -eof-
|
# -eof-
|
||||||
|
Loading…
x
Reference in New Issue
Block a user