Skip to content

Commit

Permalink
Merge pull request #1961 from jacklul/v6-patch-1
Browse files Browse the repository at this point in the history
Fix error message mentioning wrong file
  • Loading branch information
DL6ER committed May 17, 2024
2 parents 3d4cc1b + ecd2e81 commit 12bebfb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/zip/teleporter.c
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit 12bebfb

Please sign in to comment.