последнее изменение не учитывало завершение демона без скрипта

This commit is contained in:
Maxim Nikulin 2010-08-05 14:06:05 +00:00
parent 6c2811c2ec
commit e00a97496f

View File

@ -43,8 +43,8 @@ start()
echo -n "Start $PROGRAM service: " echo -n "Start $PROGRAM service: "
isrun [ -f "$LOCKFILE" ] && sleep 1
if [ $? -eq 0 -o -f "$LOCKFILE" ]; then if isrun; then
echo -n "already running " echo -n "already running "
EXIT_STATUS=1 EXIT_STATUS=1
else else