diff options
author | Darren Embry <dse@webonastick.com> | 2012-05-17 15:22:49 -0400 |
---|---|---|
committer | Darren Embry <dse@webonastick.com> | 2012-05-17 15:22:49 -0400 |
commit | f757431db5e1fd7c9e706c5a5a117fba6aaa0a96 (patch) | |
tree | 66c89f811a1b083d7fe8948feb274cb20818de36 /usr/local/www | |
parent | 5d51f00ec70fa371eb6d59d8b2e4ef287e804fd1 (diff) | |
download | pfsense-f757431db5e1fd7c9e706c5a5a117fba6aaa0a96.zip pfsense-f757431db5e1fd7c9e706c5a5a117fba6aaa0a96.tar.gz |
more verbose log_error on rrdtool restore failure
Diffstat (limited to 'usr/local/www')
-rwxr-xr-x | usr/local/www/diag_backup.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/diag_backup.php b/usr/local/www/diag_backup.php index 9f08117..09f599b 100755 --- a/usr/local/www/diag_backup.php +++ b/usr/local/www/diag_backup.php @@ -96,7 +96,7 @@ function restore_rrddata() { $status = null; exec("$rrdtool restore -f '{$xml_file}' '{$rrd_file}'", $output, $status); if ($status) { - log_error("rrdtool restore -f failed returning $status"); + log_error("rrdtool restore -f '{$xml_file}' '{$rrd_file}' failed returning {$status}."); continue; } unlink($xml_file); |