This commit is contained in:
Steve Beaver 2018-08-22 11:08:00 -04:00
parent b6f6210a22
commit e8d4004cb4

View File

@ -305,7 +305,9 @@ function upload_config($reasonm = "") {
$data = curl_exec($curl_session);
unlink($tmpname);
if (file_exists($tmpname)) {
unlink($tmpname));
}
if (curl_errno($curl_session)) {
$fd = fopen("/tmp/backupdebug.txt", "w");