Slackware, fix rc.i2p, bad logic.

This commit is contained in:
sponge
2010-11-24 14:55:53 +00:00
parent 8b5c0a2db1
commit 5f3834d398
2 changed files with 4 additions and 1 deletions

View File

@ -4,7 +4,7 @@
i2p_start() {
# Check if router is up first!
/bin/su - -c "( export PATH=\"$PATH:/usr/lib/java/bin:/usr/lib/java/jre/bin\"; directory status )" > /dev/null
if [ ! $? -eq 0 ] ; then {
if [ $? -eq 0 ] ; then {
# I2p is already running, so tell the user.
echo "I2P is already running..."
i2p_status