mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-03-24 16:51:47 -04:00
Remove fatal version check. Just error.
This commit is contained in:
@@ -178,18 +178,10 @@ if ( $command =~ /^(?:start|restart)$/ ) {
|
||||
) {
|
||||
my ( $db_major, $db_minor, $db_micro ) = split(/\./, $Config{ZM_DYN_DB_VERSION});
|
||||
my ( $major, $minor, $micro ) = split(/\./, ZM_VERSION);
|
||||
if ( $db_major != $major or $db_minor != $minor ) {
|
||||
Fatal('Version mismatch, system is version '.ZM_VERSION
|
||||
.', database is '.$Config{ZM_DYN_DB_VERSION}
|
||||
.', please run zmupdate.pl to update.'
|
||||
);
|
||||
exit(-1);
|
||||
} else {
|
||||
Error('Version mismatch, system is version '.ZM_VERSION
|
||||
.', database is '.$Config{ZM_DYN_DB_VERSION}
|
||||
.', please run zmupdate.pl to update.'
|
||||
);
|
||||
}
|
||||
Error('Version mismatch, system is version '.ZM_VERSION
|
||||
.', database is '.$Config{ZM_DYN_DB_VERSION}
|
||||
.', please run zmupdate.pl to update.'
|
||||
);
|
||||
} # end if version mismatch
|
||||
|
||||
# Recreate the temporary directory if it's been wiped
|
||||
|
||||
Reference in New Issue
Block a user