aboutsummaryrefslogtreecommitdiffstats
path: root/packages/autoconfigbackup
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-12-07 07:09:13 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-12-07 07:09:13 +0000
commit36d1c6cf63993e18327da6d622c7bf7811604f5f (patch)
tree1a16b6d1e44150402f24433fd4f8b93fce0e381f /packages/autoconfigbackup
parent736727d4c271ac135b4f0be7c922266ae89ef26b (diff)
downloadpfsense-packages-36d1c6cf63993e18327da6d622c7bf7811604f5f.tar.gz
pfsense-packages-36d1c6cf63993e18327da6d622c7bf7811604f5f.tar.bz2
pfsense-packages-36d1c6cf63993e18327da6d622c7bf7811604f5f.zip
Remove debug code.
Diffstat (limited to 'packages/autoconfigbackup')
-rw-r--r--packages/autoconfigbackup/autoconfigbackup.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/autoconfigbackup/autoconfigbackup.php b/packages/autoconfigbackup/autoconfigbackup.php
index b9975d9e..28ecbee5 100644
--- a/packages/autoconfigbackup/autoconfigbackup.php
+++ b/packages/autoconfigbackup/autoconfigbackup.php
@@ -162,7 +162,7 @@ include("head.inc");
$ondisksha256 = trim(`/sbin/sha256 /tmp/config_restore.xml | awk '{ print $4 }'`);
if($sha256 != "0" && $sha256 != "") // we might not have a sha256 on file for older backups
if($ondisksha256 <> $sha256)
- $input_errors[] = "SHA256 does not match, cannot restore. ({$sha256}) - ({$ondisksha256})";
+ $input_errors[] = "SHA256 values does not match, cannot restore.";
if (curl_errno($curl_session)) {
/* If an error occured, log the error in /tmp/ */
$fd = fopen("/tmp/acb_restoredebug.txt", "w");