about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rwxr-xr-xleo.pl3
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 {