diff --git a/Slackware/i2p-base/rc.i2p_def b/Slackware/i2p-base/rc.i2p_def index 075e9e847..c231922e5 100644 --- a/Slackware/i2p-base/rc.i2p_def +++ b/Slackware/i2p-base/rc.i2p_def @@ -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 diff --git a/history.txt b/history.txt index 8fe1f6c0d..00b97e989 100644 --- a/history.txt +++ b/history.txt @@ -1,3 +1,6 @@ +2010-11-24 sponge + * Slackware, fix rc.i2p, bad logic. + 2010-11-24 sponge * Plugin: ticket 104 Fix webapp isRunning to check ALL webapps. The only defecency is that if one is running, that it considers the