diff options
author | Alexander Sulfrian <alexander@sulfrian.net> | 2010-12-17 22:40:47 +0100 |
---|---|---|
committer | Alexander Sulfrian <alexander@sulfrian.net> | 2010-12-17 22:40:47 +0100 |
commit | 416c209ed32e544327194a639828cd7831d4da6f (patch) | |
tree | 7425d58fd62d57230613fcd1a455969539a6d94a | |
parent | 2ea13e0b4a518a832e26524374871a12b2df566c (diff) | |
download | startscripts-416c209ed32e544327194a639828cd7831d4da6f.tar.gz startscripts-416c209ed32e544327194a639828cd7831d4da6f.tar.xz startscripts-416c209ed32e544327194a639828cd7831d4da6f.zip |
eggdrop: fix trailing whitespaces
-rwxr-xr-x | eggdrop/init.d/eggdrop | 6 |
1 files 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 |