--- bin/Replicate 2003/10/30 22:51:45 1.13 +++ bin/Replicate 2003/10/31 00:06:11 1.14 @@ -137,8 +137,8 @@ SyncSync($mconn, $sconn); my $masterId = 0; -if ($multiplemaster) { - my $masterId = GetServerId($mconn, $master, $masterhost); +if ($multiplemaster || $slaveId == 0) { + $masterId = GetServerId($sconn, $master, $masterhost); die "\n>>>>>>>>>>>>> ERROR: Can't GetServerId for $sinfo\n" if (! defined($masterId));