CVS User Account cvsuser
Wed Jun 21 10:41:19 PDT 2006
Log Message:
-----------
check_slon.sh - Parameter checking was wrong; needed || not &&

Modified Files:
--------------
    slony1-engine/tools:
        check_slon.sh (r1.2 -> r1.3)

-------------- next part --------------
Index: check_slon.sh
===================================================================
RCS file: /usr/local/cvsroot/slony1/slony1-engine/tools/check_slon.sh,v
retrieving revision 1.2
retrieving revision 1.3
diff -Ltools/check_slon.sh -Ltools/check_slon.sh -u -w -r1.2 -r1.3
--- tools/check_slon.sh
+++ tools/check_slon.sh
@@ -20,7 +20,7 @@
 # Copyright 2005
 
 # check parameters are valid
-if [[ $# -lt 2 && $# -gt 3 ]]
+if [[ $# -lt 2 || $# -gt 3 ]]
 then
    echo "Invalid parameters need CLUSTERNAME DBNAME DBHOST [LOGFILE]"
    exit 2



More information about the Slony1-commit mailing list