aboutsummaryrefslogtreecommitdiffstats
path: root/dumpdistribconf
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-09-30 12:43:20 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-09-30 12:43:20 +0000
commitad3ac793135a809a97707e4a4743c755a37306d6 (patch)
tree7e8d6ad6a6671415f5df55aa99656c59bfd877ef /dumpdistribconf
parent8c72bca81bb7c74c285d2a99c36f7b33e04e1d24 (diff)
downloadrpmtools-ad3ac793135a809a97707e4a4743c755a37306d6.tar
rpmtools-ad3ac793135a809a97707e4a4743c755a37306d6.tar.gz
rpmtools-ad3ac793135a809a97707e4a4743c755a37306d6.tar.bz2
rpmtools-ad3ac793135a809a97707e4a4743c755a37306d6.tar.xz
rpmtools-ad3ac793135a809a97707e4a4743c755a37306d6.zip
Use meaningful return values for DistribConf::load()
Diffstat (limited to 'dumpdistribconf')
-rwxr-xr-xdumpdistribconf2
1 files changed, 1 insertions, 1 deletions
diff --git a/dumpdistribconf b/dumpdistribconf
index 4cf570f..2047072 100755
--- a/dumpdistribconf
+++ b/dumpdistribconf
@@ -26,7 +26,7 @@ GetOptions(
foreach (@ARGV) {
print "Using root $_...\n";
my $d = Distribconf::Build->new($_);
- $d->load and do {
+ $d->load or do {
warn "Can't load configuration from $_\n";
next;
};