Wed Jun 21 10:41:19 PDT 2006
- Previous message: [Slony1-commit] By cbbrowne: Bug #1563 - should only access string if it is non-null...
- Next message: [Slony1-commit] By darcyb: Make calls to typenameTypeId() consistant with changes made
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: [Slony1-commit] By cbbrowne: Bug #1563 - should only access string if it is non-null...
- Next message: [Slony1-commit] By darcyb: Make calls to typenameTypeId() consistant with changes made
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Slony1-commit mailing list