[Pkg-privacy-commits] [msva-perl] 09/15: fix errors when msva-perl is run without arguments

Ximin Luo infinity0 at moszumanska.debian.org
Mon Aug 24 07:42:27 UTC 2015


This is an automated email from the git hooks/post-receive script.

infinity0 pushed a commit to annotated tag msva-perl_debian/0.8.1-2
in repository msva-perl.

commit db6cdc407aa9386a6567468879059ae0c2843973
Author: Daniel Kahn Gillmor <dkg at fifthhorseman.net>
Date:   Fri Aug 10 14:33:06 2012 -0400

    fix errors when msva-perl is run without arguments
---
 Crypt/Monkeysphere/MSVA.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Crypt/Monkeysphere/MSVA.pm b/Crypt/Monkeysphere/MSVA.pm
index 34128cb..70d8e81 100755
--- a/Crypt/Monkeysphere/MSVA.pm
+++ b/Crypt/Monkeysphere/MSVA.pm
@@ -766,7 +766,7 @@
     my $self = shift;
     my $server = shift;
 
-    $self->parent_changed($server) if (getppid() != $self->{parent_pid});
+    $self->parent_changed($server) if (defined $self->{parent_pid} && getppid() != $self->{parent_pid});
   }
 
   sub parent_changed {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/msva-perl.git



More information about the Pkg-privacy-commits mailing list