From 416c209ed32e544327194a639828cd7831d4da6f Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Fri, 17 Dec 2010 22:40:47 +0100 Subject: eggdrop: fix trailing whitespaces --- eggdrop/init.d/eggdrop | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/eggdrop/init.d/eggdrop b/eggdrop/init.d/eggdrop index a4d2157..b33462d 100755 --- a/eggdrop/init.d/eggdrop +++ b/eggdrop/init.d/eggdrop @@ -18,7 +18,7 @@ depend() { checkconfig() { local instance=${RC_SVCNAME#*.} local instanceVar=$(shell_var "${instance}") - + if [ -n "$instanceVar" ]; then eval local_datadir=\$EGGDROP_DATADIR_${instanceVar} @@ -56,9 +56,9 @@ _get_pid_file() { if [ -n "$pid" ]; then echo "${1}/$pid" - else + else local botnet_nick=$(grep "^ *set botnet-nick" "${1}/eggdrop.conf" | cut -d\" -f2) - + if [ -n "${botnet_nick}" ]; then echo "${1}/pid.${botnet_nick}" else -- cgit v1.2.3