From 44c4af9df49d8280bda3cb128523b5b846f7dfdd Mon Sep 17 00:00:00 2001 From: "ribosome ribosome@31f1291d-b8d6-0310-a050-a5561fc1590b" Date: Wed, 30 Jun 2004 19:29:09 +0000 Subject: BUILD : 1.7.4 (223) BUGS : NOTES : Anope crontab failed because when path was too long the ps ux was cut short so grep failed. ps ux was changed to ps auwx to stop this problem (w is stops cutting the lines short) git-svn-id: svn://svn.anope.org/anope/trunk@223 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@160 5417fbe8-f217-4b02-8779-1006273d7864 --- data/example.chk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'data') diff --git a/data/example.chk b/data/example.chk index fe7632417..6f2a2343d 100644 --- a/data/example.chk +++ b/data/example.chk @@ -34,7 +34,7 @@ cd $ANOPATH if [ -f $ANOPIDF ] then ANOPID=`cat $ANOPIDF` - if [ `ps ux| grep $ANOPROG | grep $ANOPID | grep -v -c grep` = 1 ] + if [ `ps auwx | grep $ANOPROG | grep $ANOPID | grep -v -c grep` = 1 ] then exit fi -- cgit