fix prompt when updating StorageArea
This commit is contained in:
parent
6d19280069
commit
32337c5dbb
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue