mirror of
https://github.com/pi-hole/FTL.git
synced 2024-10-26 16:52:18 +02:00
Merge pull request #1961 from jacklul/v6-patch-1
Fix error message mentioning wrong file
This commit is contained in:
@@ -181,7 +181,7 @@ const char *generate_teleporter_zip(mz_zip_archive *zip, char filename[128], voi
|
||||
if(file_exists(file_path) && !mz_zip_writer_add_file(zip, file_path+1, file_path, file_comment, (uint16_t)strlen(file_comment), MZ_BEST_COMPRESSION))
|
||||
{
|
||||
mz_zip_writer_end(zip);
|
||||
return "Failed to add /etc/hosts to heap ZIP archive!";
|
||||
return "Failed to add /etc/pihole/dhcp.leases to heap ZIP archive!";
|
||||
}
|
||||
|
||||
const char *directory = "/etc/dnsmasq.d";
|
||||
|
||||
Reference in New Issue
Block a user