Fixing bug that stops installation/upgrade if DB is already at current version

This commit is contained in:
Bartek Zdanowski 2013-11-20 10:39:51 +01:00
parent d223303d28
commit f6dca0f575
1 changed files with 1 additions and 1 deletions

View File

@ -360,7 +360,7 @@ if ( $version )
if ( ZM_VERSION eq $version ) if ( ZM_VERSION eq $version )
{ {
print( "\nDatabase already at version $version, update aborted.\n\n" ); print( "\nDatabase already at version $version, update aborted.\n\n" );
exit( -1 ); exit( 0 );
} }
print( "\nInitiating database upgrade to version ".ZM_VERSION." from version $version\n" ); print( "\nInitiating database upgrade to version ".ZM_VERSION." from version $version\n" );