aboutsummaryrefslogtreecommitdiffstats
path: root/packages/autoconfigbackup/autoconfigbackup.inc
diff options
context:
space:
mode:
Diffstat (limited to 'packages/autoconfigbackup/autoconfigbackup.inc')
-rw-r--r--packages/autoconfigbackup/autoconfigbackup.inc4
1 files changed, 1 insertions, 3 deletions
diff --git a/packages/autoconfigbackup/autoconfigbackup.inc b/packages/autoconfigbackup/autoconfigbackup.inc
index 0808009a..271ca68f 100644
--- a/packages/autoconfigbackup/autoconfigbackup.inc
+++ b/packages/autoconfigbackup/autoconfigbackup.inc
@@ -38,10 +38,8 @@ function custom_php_validation_command($post, $input_errors) {
if($post['testconnection']) {
$status = test_connection($post);
- if(!$status)
+ if($status)
$savemsg = "Connection to portal.pfsense.org was tested with no errors.";
- else
- $savemsg = "There was a problem connecting to portal.pfsense.org.";
}
// We do not need to store this value.