From 5fddf114fbcf1c49479ac477f4202238f00aa74c Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sat, 6 Dec 2008 20:52:26 +0000 Subject: Use correct file --- packages/autoconfigbackup/autoconfigbackup.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages') diff --git a/packages/autoconfigbackup/autoconfigbackup.php b/packages/autoconfigbackup/autoconfigbackup.php index afcdfc56..4a40d8c4 100644 --- a/packages/autoconfigbackup/autoconfigbackup.php +++ b/packages/autoconfigbackup/autoconfigbackup.php @@ -114,7 +114,7 @@ if($_REQUEST['newver'] != "") { $fd = fopen("/tmp/config_restore.xml", "w"); fwrite($fd, $data); fclose($fd); - $ondisksha256 = trim(`/sbin/sha256 /tmp/backupdebug.txt | awk '{ print $4 }'`); + $ondisksha256 = trim(`/sbin/sha256 /tmp/config_restore.xml | awk '{ print $4 }'`); if($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"; -- cgit v1.2.3