[translation-tools/master] Fix the pid check to work with -e

28 Sep
2011
28 Sep
'11
10:45 a.m.
commit 483b6897b714efe7d50f6248e7d876fa322d35bc Author: Sebastian Hahn <sebastian@torproject.org> Date: Wed Sep 28 12:45:45 2011 +0200 Fix the pid check to work with -e --- update_translations | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/update_translations b/update_translations index 79a4913..520aef3 100755 --- a/update_translations +++ b/update_translations @@ -8,7 +8,7 @@ SCRIPT=`basename $0` if [ -f ${PIDFILE} ]; then OLDPID=`cat ${PIDFILE}` - STILL_RUNNING=`ps -ef | grep ${OLDPID} | grep ${SCRIPT}` + STILL_RUNNING=`ps -ef | grep ${OLDPID} | grep ${SCRIPT}` || test $? = 1; if [ -n "${STILL_RUNNING}" ]; then exit 2 fi
4981
Age (days ago)
4981
Last active (days ago)
0 comments
1 participants
participants (1)
-
sebastian@torproject.org