--- trunk/bin/BackupPC_updatedb 2005/07/11 16:48:33 24 +++ trunk/bin/BackupPC_updatedb 2005/07/13 09:57:41 25 @@ -236,7 +236,10 @@ VALUES (?,?,?,?) }); - $sth->{insert_share}->execute($hostID,$share, $hostname . $share,undef); + my $drop_down = $hostname . '/' . $share; + $drop_down =~ s#//+#/#g; + + $sth->{insert_share}->execute($hostID,$share, $drop_down ,undef); return $dbh->func('last_insert_rowid'); }