mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Fixed #8823
This commit is contained in:
parent
b6f6210a22
commit
e8d4004cb4
@ -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");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user