From: weasel Date: Wed, 20 Oct 2004 11:16:28 +0000 (+0000) Subject: More verbose debug output X-Git-Url: http://git.sthu.org/?a=commitdiff_plain;h=867fc0dc05487e335fc76970534447e0d417ec2f;p=pgp-tools.git More verbose debug output git-svn-id: svn://svn.debian.org/pgp-tools/trunk@23 b513b33f-fedd-0310-b452-c3deb5f4c849 --- diff --git a/caff/caff b/caff/caff index a22ac47..73aacd5 100755 --- a/caff/caff +++ b/caff/caff @@ -684,7 +684,8 @@ for my $keyid (@keyids_ok) { while($status =~ /$KEYEDIT_DELSIG_PROMPT/m) { # sig:?::17:EA2199412477CAF8:1058095214:::::13x: my @sigline = grep { /^sig/ } (split /\n/, $stdout); - notice("[sigremoval] why are there ".(scalar @sigline)." siglines in that part of the dialog!?.") if scalar @sigline >= 2; # XXX + $stdout =~ s/\n/\\n/g; + notice("[sigremoval] why are there ".(scalar @sigline)." siglines in that part of the dialog!? got: $stdout") if scalar @sigline >= 2; # XXX my $line = pop @sigline; my $answer = "no"; if (defined $line) { # only if we found a sig here - we never remove revocation packets for instance @@ -702,7 +703,6 @@ for my $keyid (@keyids_ok) { $answer = "yes"; }; } else { - $stdout =~ s/\n/\\n/g; debug("[sigremoval] no sig line here, only got: ".$stdout); }; ($stdout, $stderr, $status) =