diff options
author | Andinus <andinus@nand.sh> | 2020-10-15 16:40:05 +0530 |
---|---|---|
committer | Andinus <andinus@nand.sh> | 2020-10-15 16:40:05 +0530 |
commit | b69d5427c4f0eb8a1ebed4c729fdc3df05807ebd (patch) | |
tree | 039143c15a8b1efffa306df655dabb47793c57d6 | |
parent | 01931c241cbe32deb4b7ad95935dcdd7a1c9cad6 (diff) | |
download | leo-b69d5427c4f0eb8a1ebed4c729fdc3df05807ebd.tar.gz |
Fix unlinking files after running gpg
-rwxr-xr-x | leo.pl | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/leo.pl b/leo.pl index 8f82d51..920a690 100755 --- a/leo.pl +++ b/leo.pl @@ -160,8 +160,7 @@ sub encrypt_sign { print "\n"; unlink $file and say "$file deleted." - or warn "[WARN] Could not delete $file: $!\n" - if $options{delete}; + or warn "[WARN] Could not delete $file: $!\n"; } sub signify { |