[libnet-dbus-perl] 69/335: Fix arg counting

Intrigeri intrigeri at moszumanska.debian.org
Sat Mar 21 01:07:26 UTC 2015


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

intrigeri pushed a commit to branch experimental
in repository libnet-dbus-perl.

commit 99b8ae2c367d3da37bfda020f51944889a16ee47
Author: Daniel P. Berrange <dan at berrange.com>
Date:   Sun Aug 14 18:08:43 2005 +0000

    Fix arg counting
---
 examples/dump-object.pl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/examples/dump-object.pl b/examples/dump-object.pl
index 74f7d25..9158e3a 100644
--- a/examples/dump-object.pl
+++ b/examples/dump-object.pl
@@ -5,7 +5,7 @@ use Net::DBus::Dumper;
 
 my $bus = Net::DBus->find;
 
-if ($#ARGV != 2) {
+if ($#ARGV != 1) {
     die "syntax: $0 SERVICE-NAME OBJECT-PATH\n";
 }
 

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



More information about the Pkg-perl-cvs-commits mailing list