Masato Taruishi
taru****@sourc*****
2004年 7月 9日 (金) 15:49:08 JST
=================================================================== RCS file: ultrapossum/module/failover/update-failover,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- ultrapossum/module/failover/update-failover 2004/07/01 19:16:58 1.9 +++ ultrapossum/module/failover/update-failover 2004/07/09 06:49:07 1.10 @@ -123,8 +123,8 @@ echo "E: BACKUP '$BACKUP' is not a slave server" 1>&2 exit 1 fi - val=`getvalue $DIRECTORY/ultrapossum-environ SLURPDSLAVES` - if test "x$val" != "x$SLURPDSLAVES"; then + val=`getvalue $DIRECTORY/ultrapossum-environ SLURPDSLAVES 2> /dev/null` + if test "x$val" != "x" && test "x$val" != "x$SLURPDSLAVES"; then echo "E: unable to change slurpd slave servers when failover environment" 1>&2 exit 1 fi