mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-13 08:09:41 +00:00
System: Configuration: Backups - change message when no files are returned by the remote host, for https://github.com/opnsense/plugins/pull/4602
This commit is contained in:
parent
4eca08abb7
commit
c48d393d33
@ -399,7 +399,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') {
|
||||
}
|
||||
|
||||
if (count($filesInBackup) == 0) {
|
||||
$input_errors[] = gettext('Saved settings, but remote backup failed.');
|
||||
$input_messages = gettext('Saved settings, but remote backup returned no files.');
|
||||
} else {
|
||||
$input_messages = gettext("Backup successful, current file list:") . "<br>";
|
||||
foreach ($filesInBackup as $filename) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user