Make log rotation quieter
authorTom Hughes <tom@compton.nu>
Wed, 3 Aug 2011 21:30:08 +0000 (22:30 +0100)
committerTom Hughes <tom@compton.nu>
Wed, 3 Aug 2011 21:30:08 +0000 (22:30 +0100)
settings.sh

index bc69c7d..5fb4a91 100755 (executable)
@@ -94,9 +94,8 @@ case "$CMD" in
            if test "x$PID" != "x"; then
                if kill -0 $PID; then
                    kill -HUP $PID
-                   echo "GPX daemon sent HUP"
                    sleep 0.5
-                   $0 check
+                   $0 check > /dev/null || echo "GPX daemon is not running, pid ?= $PID"
                else
                    echo "GPX daemon is not running, pid ?= $PID"
                fi