diff --git a/scripts/zmupdate.pl.z b/scripts/zmupdate.pl.z index 16c6a03ce..824ab9be3 100755 --- a/scripts/zmupdate.pl.z +++ b/scripts/zmupdate.pl.z @@ -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 = ; + 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 = ; @@ -331,6 +333,7 @@ if ( $version ) { die( "Unexpected response '$response'" ); } + } sub patchDB {