[vhffs-dev] [2040] clear GNUPGHOME environment variable after a sent mail

[ Thread Index | Date Index | More vhffs.org/vhffs-dev Archives ]


Revision: 2040
Author:   gradator
Date:     2012-02-23 01:06:09 +0100 (Thu, 23 Feb 2012)
Log Message:
-----------
clear GNUPGHOME environment variable after a sent mail

Modified Paths:
--------------
    trunk/vhffs-api/src/Vhffs/Functions.pm

Modified: trunk/vhffs-api/src/Vhffs/Functions.pm
===================================================================
--- trunk/vhffs-api/src/Vhffs/Functions.pm	2012-02-23 00:01:06 UTC (rev 2039)
+++ trunk/vhffs-api/src/Vhffs/Functions.pm	2012-02-23 00:06:09 UTC (rev 2040)
@@ -126,6 +126,7 @@
 		} else {
 			undef $gpgconf;
 		}
+		delete $ENV{'GNUPGHOME'};
 	}
 
 	unless( defined $gpgconf ) {


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/