fix prompt when updating StorageArea

This commit is contained in:
Isaac Connor 2018-11-23 15:13:47 -05:00
parent 6d19280069
commit 32337c5dbb
1 changed files with 1 additions and 1 deletions

View File

@ -537,7 +537,7 @@ MAIN: while( $loop ) {
my $path = $Storage->Path().'/'.$Event->RelativePath();
if ( -e $path ) {
Info("Event $$Event{Id} found at $path instead of $$Event{Path}");
if ( confirm() ) {
if ( confirm('update', 'updating') ) {
$Event->save({StorageId=>$$Storage{Id}});
last;
}