diff options
| author | ribosome ribosome@31f1291d-b8d6-0310-a050-a5561fc1590b <ribosome ribosome@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2004-06-30 19:29:09 +0000 |
|---|---|---|
| committer | ribosome ribosome@31f1291d-b8d6-0310-a050-a5561fc1590b <ribosome ribosome@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2004-06-30 19:29:09 +0000 |
| commit | 44c4af9df49d8280bda3cb128523b5b846f7dfdd (patch) | |
| tree | a3590305d6e7a94421e9a3ac0652d5bc31acf8cd /data | |
| parent | c89670061610a878b8e91d3f120b149e710502f4 (diff) | |
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
Diffstat (limited to 'data')
| -rw-r--r-- | data/example.chk | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
