ossp-pkg/snmpdx/snmpdx.d/swOp.pm 1.6 -> 1.7
--- swOp.pm 2003/09/10 15:01:46 1.6
+++ swOp.pm 2003/10/21 18:13:17 1.7
@@ -39,6 +39,7 @@
# query details via rpm(1)
my $out = $self->{-ctx}->{-sys}->run(
"rpm -qa --qf '[%{NAME} %{VERSION} %{RELEASE} %{BUILDTIME} %{INSTALLTIME}\\n]'", "10m");
+ return if ($out->{-stdout} eq '');
# parse details into internal structure
my $pkg = [];
|
|