diff --git a/lemonldap-ng-common/scripts/lmMigrateConfFiles2ini b/lemonldap-ng-common/scripts/lmMigrateConfFiles2ini index f3cd70744..53a19b3ba 100755 --- a/lemonldap-ng-common/scripts/lmMigrateConfFiles2ini +++ b/lemonldap-ng-common/scripts/lmMigrateConfFiles2ini @@ -126,10 +126,11 @@ else { my $conf; if ( -e $new ) { -w $new or quit( 4, "$new is not writeable" ); - $conf = Config::IniFiles->new( -file => $new ) - or quit( 4, - "Unable to open $new:\n\t" - . join( "\n\t", @Config::IniFiles::errors ) ); + $conf = Config::IniFiles->new( -file => $new, -allowcontinue => 1 ) + or quit( + 4, + "Unable to open $new:\n\t" . join( "\n\t", @Config::IniFiles::errors ) + ); } else { $conf = Config::IniFiles->new();