petitboot
petitboot copied to clipboard
Check that the path passed in to copy_file_secure_dest is a file
This is a copy-pasta proposed fix for the issue I logged in #90
If the path passed into copy_file_secure_dest is a valid, readable directory, it will currently proceed without error, and create a zero byte file in the destination path.