From d8cc6f3ba11c7ed0904fc99e5588f8aa4de115b4 Mon Sep 17 00:00:00 2001 From: steve-lad <72376554+steve-lad@users.noreply.github.com> Date: Sun, 27 Jun 2021 10:43:01 +0200 Subject: [PATCH] Remove empty - checking to find actual and overwrite any existing --- install.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.php b/install.php index 197b219..4837826 100644 --- a/install.php +++ b/install.php @@ -896,7 +896,7 @@ function checkTftpServer() { // write a couple of sentinels to different distro tftp locations in the filesystem foreach ($possibleFtpDirs as $dirToTest) { - if (is_dir($dirToTest) && is_writable($dirToTest) && empty($tftpRootPath)) { + if (is_dir($dirToTest) && is_writable($dirToTest)) { $tempFile = "${dirToTest}/{$remoteFileName}"; file_put_contents($tempFile, $remoteFileContent);