Removed backup option from zmupdate.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@1580 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
parent
bfae815a80
commit
7257cb5f9d
|
@ -285,6 +285,8 @@ if ( $version )
|
|||
print( "Please ensure that ZoneMinder is stopped on your system prior to upgrading the database.\nPress enter to continue or ctrl-C to stop : " );
|
||||
my $response = <STDIN>;
|
||||
|
||||
if ( 0 )
|
||||
{
|
||||
print( "\nDo you wish to take a backup of your database prior to upgrading?\nThis may result in a large file if you have a lot of events.\nPress 'y' for a backup or 'n' to continue : " );
|
||||
|
||||
$response = <STDIN>;
|
||||
|
@ -331,6 +333,7 @@ if ( $version )
|
|||
{
|
||||
die( "Unexpected response '$response'" );
|
||||
}
|
||||
}
|
||||
|
||||
sub patchDB
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue