X-Git-Url: https://git.sthu.org/?p=pgp-tools.git;a=blobdiff_plain;f=caff%2Fcaff;fp=caff%2Fcaff;h=6e987a4421878a76a7d7413a48006ed872082b26;hp=f9bb72d90404f88805d17e13328ec408c3f892fa;hb=cb738997f3c4ba53c1b30b8845f51696fc4816d0;hpb=a665b59d1bd76864c64e007a0271195172130e8a diff --git a/caff/caff b/caff/caff index f9bb72d..6e987a4 100755 --- a/caff/caff +++ b/caff/caff @@ -375,7 +375,7 @@ sub trace2($) { sub generate_config() { - notice("Error: \$LOGNAME is not set.\n") unless defined $ENV{'LOGNAME'}; + notice("Error: \$LOGNAME is not set.") unless defined $ENV{'LOGNAME'}; my $gecos = defined $ENV{'LOGNAME'} ? (getpwnam($ENV{LOGNAME}))[6] : undef; my $email; my @keys; @@ -1185,7 +1185,7 @@ if ($CONFIG{'no-download'}) { $speced_key = $spec if $local_keyids{$spec}; }; unless ($speced_key) { - notice ("Imported unexpected key; got: $imported_key\n"); + notice ("Imported unexpected key; got: $imported_key\nAre you trying to work on a subkey?"); next; }; debug ("Imported $imported_key for $speced_key");