summaryrefslogtreecommitdiffstats
path: root/ubuntu/maverick/tdenetwork
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2016-02-01 17:10:02 +0100
committerSlávek Banko <slavek.banko@axis.cz>2016-02-01 17:10:23 +0100
commit6eccc1f2f76d5cfb6b5f814ab8317695ccb8054c (patch)
tree98b42463bafbab976124f737dad5b0d9b6f51a31 /ubuntu/maverick/tdenetwork
parent41241c98d3255e62d21969821c5fa86754a46127 (diff)
downloadtde-packaging-6eccc1f2f76d5cfb6b5f814ab8317695ccb8054c.tar.gz
tde-packaging-6eccc1f2f76d5cfb6b5f814ab8317695ccb8054c.zip
Fix verification is_running in lisa init script on Debian and Ubuntu
Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit f790aba47d9389b5529c637669346df7a0a1a9fe)
Diffstat (limited to 'ubuntu/maverick/tdenetwork')
-rw-r--r--ubuntu/maverick/tdenetwork/debian/lisa-trinity.init2
1 files changed, 1 insertions, 1 deletions
diff --git a/ubuntu/maverick/tdenetwork/debian/lisa-trinity.init b/ubuntu/maverick/tdenetwork/debian/lisa-trinity.init
index 4e5dfa113..1551c0e1e 100644
--- a/ubuntu/maverick/tdenetwork/debian/lisa-trinity.init
+++ b/ubuntu/maverick/tdenetwork/debian/lisa-trinity.init
@@ -26,7 +26,7 @@ is_running ()
if [ -L /proc/`cat $PIDFILE`/exe ]
then
#checking for stale pidfile
- if grep -q $NAME /proc/`cat $PIDFILE`/cmdline
+ if grep -q $DAEMON /proc/`cat $PIDFILE`/cmdline
then
#program is running and is called lisa
return 0