actsyncd fix

Olaf Titz olaf at bigred.inka.de
Wed Apr 5 11:14:00 UTC 2000


This patch fixes a longstanding problem with actsyncd: actsyncd
failing with a shell syntax error in the line
    if [ "$status" -ne "$NOSYNC" ]; then
where status="".

Olaf

--- backends/actsyncd.in~
+++ backends/actsyncd.in    Wed Apr  5 12:47:14 2000
@@ -150,6 +150,7 @@
 echo "=-= `date` for $host" >>$out 2>&1
 for loop in 1 2 3 4 5 6 7 8 9 10; do

+    status=0
     # get the active file to compare against
     case $host in
     /*) cp $host          active ;;




More information about the inn-patches mailing list