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

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


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

infinity0 pushed a commit to branch debian
in repository msva-perl.

commit cf031c38151e307ad8f694d17916581a7972f5a2
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 ffc3f42..e0b784f 100755
--- a/Crypt/Monkeysphere/MSVA.pm
+++ b/Crypt/Monkeysphere/MSVA.pm
@@ -709,7 +709,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