From ecd2e8198bf259e5e0e0b8b27a55205fe8e02906 Mon Sep 17 00:00:00 2001 From: Jack'lul Date: Fri, 17 May 2024 18:03:57 +0200 Subject: [PATCH] Fix error message mentioning wrong file Signed-off-by: Jack'lul --- src/zip/teleporter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/zip/teleporter.c b/src/zip/teleporter.c index 26480ca2..5eb02317 100644 --- a/src/zip/teleporter.c +++ b/src/zip/teleporter.c @@ -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";