Changed behavior to work well with a system install

git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@107 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
prozacx
2005-04-04 06:42:24 +00:00
parent 022854c3b2
commit 0f70dfd948

8
zncchk
View File

@@ -1,12 +1,6 @@
#!/bin/sh
dir="."
cmd="znc"
pidfile="znc.pid"
PATH=.:$PATH
export PATH
cd $dir
pidfile="${HOME}/.znc/znc.pid"
if test -s $pidfile; then
pid=`cat $pidfile`