File tree 2 files changed +3
-1
lines changed
2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,8 @@ foreach $sid_pid (@d) {
13
13
($sid , $pid ) = split (/ -/ , $sid_pid );
14
14
($sched ) = grep { $_ -> {' id' } eq $sid &&
15
15
$_ -> {' pid' } == $pid } @running ;
16
- $sched && &can_backup_sched($sched ) ||
16
+ $sched || &error(&text(' dsched_erunning' , $sid ));
17
+ &can_backup_sched($sched ) ||
17
18
&error(&text(' dsched_ecannot' , $sid ));
18
19
push (@scheds , $sched );
19
20
}
Original file line number Diff line number Diff line change @@ -5804,6 +5804,7 @@ cron_ehidden=No complex schedule was selected
5804
5804
dsched_err=Failed to delete scheduled backups
5805
5805
dsched_enone=None selected
5806
5806
dsched_egone=The backup with ID $1 no longer exists
5807
+ dsched_erunning=The backup with ID $1 is no longer running
5807
5808
dsched_ecannot=You are not allowed to manage the backup with ID $1
5808
5809
5809
5810
dbhosts_err=Failed to change remote database hosts
You can’t perform that action at this time.
0 commit comments