Update of /cvsroot/hcoop/misc/scripts
In directory sc8-pr-cvs17:/tmp/cvs-serv12458

Modified Files:
        apache-sync-logs 
Log Message:
Set exit status in apache-sync-logs


Index: apache-sync-logs
===================================================================
RCS file: /cvsroot/hcoop/misc/scripts/apache-sync-logs,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** apache-sync-logs    10 Sep 2007 17:25:54 -0000      1.3
--- apache-sync-logs    12 Sep 2007 12:50:08 -0000      1.4
***************
*** 33,40 ****
--- 33,42 ----
      if [ ! -d "$LOG_DEST" ]; then
          echo "Error: $LOG_DEST does not exist, please make it"
+         exit 1
      else
          k5start -qtU -f $KEYTAB_DIR/$USER \
              -- su $USER -c "rsync -a $A/apache/log/ $LOG_DEST/"
          [ "$VERBOSE" = "true" ] && echo "  done."
+         exit 0
      fi
  done


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
hcoop-cvs mailing list
hcoop-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hcoop-cvs

Reply via email to