From 0f70dfd9484efed96ebe6d56a207b244ca7cabc1 Mon Sep 17 00:00:00 2001 From: prozacx Date: Mon, 4 Apr 2005 06:42:24 +0000 Subject: [PATCH] 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 --- zncchk | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/zncchk b/zncchk index 93ccc4be..9845c8b0 100755 --- a/zncchk +++ b/zncchk @@ -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`