From 5f3834d3983a64c5139f183b955cb795a88f3781 Mon Sep 17 00:00:00 2001 From: sponge Date: Wed, 24 Nov 2010 14:55:53 +0000 Subject: [PATCH] Slackware, fix rc.i2p, bad logic. --- Slackware/i2p-base/rc.i2p_def | 2 +- history.txt | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) 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