diff options
Diffstat (limited to 'config/autoconfigbackup')
-rw-r--r-- | config/autoconfigbackup/autoconfigbackup.inc | 1 | ||||
-rw-r--r-- | config/autoconfigbackup/autoconfigbackup.php | 4 |
2 files changed, 4 insertions, 1 deletions
diff --git a/config/autoconfigbackup/autoconfigbackup.inc b/config/autoconfigbackup/autoconfigbackup.inc index 68756bef..4522abda 100644 --- a/config/autoconfigbackup/autoconfigbackup.inc +++ b/config/autoconfigbackup/autoconfigbackup.inc @@ -214,7 +214,6 @@ function upload_config($reasonm = "") { } else { log_error("No https://portal.pfsense.org backup required."); } - } } diff --git a/config/autoconfigbackup/autoconfigbackup.php b/config/autoconfigbackup/autoconfigbackup.php index 0af10b31..116bb4bd 100644 --- a/config/autoconfigbackup/autoconfigbackup.php +++ b/config/autoconfigbackup/autoconfigbackup.php @@ -230,6 +230,8 @@ EOF; $savemsg = "Unable to revert to the selected configuration."; } print_info_box($savemsg); + } else { + log_error("There was an error when restoring the AutoConfigBackup item"); } unlink("/tmp/config_restore.xml"); } @@ -314,6 +316,8 @@ EOF; if($ds_split[2] && $ds_split[0]) $confvers[] = $tmp_array; } + if ($input_errors) + print_input_errors($input_errors); ?> </td> </tr> |