about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAndinus <andinus@nand.sh>2020-10-15 00:55:51 +0530
committerAndinus <andinus@nand.sh>2020-10-15 00:55:51 +0530
commit01931c241cbe32deb4b7ad95935dcdd7a1c9cad6 (patch)
tree60eb30439248e2a8bb0f8640216a5b95fe229899
parent907d729ec281fa578db4993ceabc84b0aa5d6047 (diff)
downloadleo-01931c241cbe32deb4b7ad95935dcdd7a1c9cad6.tar.gz
Update warning on using gpg with signify
-rwxr-xr-xleo.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/leo.pl b/leo.pl
index 8dbcd87..8f82d51 100755
--- a/leo.pl
+++ b/leo.pl
@@ -85,9 +85,9 @@ foreach my $prof ( @ARGV ) {
         # It will fail because signify will look for "${prof}.tar" but
         # delete option would've deleted it. I can make signify look
         # for "${prof}.tar.gpg" but this is fine for now.
-        warn "[WARN] signify might fail if used with gpg & delete option enabled\n"
+        warn "[WARN] signify might fail if used with gpg\n"
             if ($profile{$prof}{signify}
-                and ($profile{$prof}{encrypt} and $options{delete}));
+                and ($profile{$prof}{encrypt} or $profile{$prof}{sign}));
 
         signify($prof) if $profile{$prof}{signify};
         encrypt_sign($prof) if $profile{$prof}{sign} or $profile{$prof}{encrypt};