[Pgp-tools-commit] r759 - trunk/caff

Guilhem Moulin guilhem-guest at moszumanska.debian.org
Tue Jan 13 21:36:17 UTC 2015


Author: guilhem-guest
Date: 2015-01-13 21:36:16 +0000 (Tue, 13 Jan 2015)
New Revision: 759

Modified:
   trunk/caff/caff
Log:
caff: croak if gpg couldn't prune or lsign the key.

Modified: trunk/caff/caff
===================================================================
--- trunk/caff/caff	2015-01-13 21:36:10 UTC (rev 758)
+++ trunk/caff/caff	2015-01-13 21:36:16 UTC (rev 759)
@@ -1655,6 +1655,7 @@
 
 		readwrite_gpg("save\n", $handles);
 		waitpid $pid, 0;
+		die "Couldn't prune $keyid: $?.\n" if $?;
 
 		my $asciikey = export_keys($uiddir, [$keyid]);
 		undef $uiddir; # delete dir
@@ -1758,6 +1759,7 @@
 
 				readwrite_gpg("save\n", $handles);
 				waitpid $pid, 0;
+				die "Couldn't auto lsign $keyid: $?.\n" if $?;
 			}
 		}
 	}




More information about the Pgp-tools-commit mailing list