summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaouda Lo <daouda@mandriva.com>2004-10-03 06:36:13 +0000
committerDaouda Lo <daouda@mandriva.com>2004-10-03 06:36:13 +0000
commit56307d023cf9c27726e877f0d4c7d3769bf93881 (patch)
tree274b72af792e7efcd56dcc08475dea2b01b3267c
parent121b38efc73b50306eaa6d7005a4367da305f5c6 (diff)
downloadmgaonline-56307d023cf9c27726e877f0d4c7d3769bf93881.tar
mgaonline-56307d023cf9c27726e877f0d4c7d3769bf93881.tar.gz
mgaonline-56307d023cf9c27726e877f0d4c7d3769bf93881.tar.bz2
mgaonline-56307d023cf9c27726e877f0d4c7d3769bf93881.tar.xz
mgaonline-56307d023cf9c27726e877f0d4c7d3769bf93881.zip
- exit 1
-rwxr-xr-xmdkupdate2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdkupdate b/mdkupdate
index 226a0c82..c17cbc1b 100755
--- a/mdkupdate
+++ b/mdkupdate
@@ -184,7 +184,7 @@ sub send_conf_update {
sub send_rpm_dif {
my ($login, $password, $boxname, $oldkey) = @_;
`sdiff -s $confdir/rpm_qa_installed_after $confdir/mdkupdate.rpms > $confdir/$login.$password.$boxname.$oldkey.dif`;
- -s "$confdir/$login.$password.$boxname.$oldkey.dif" or exit(0);
+ -s "$confdir/$login.$password.$boxname.$oldkey.dif" or exit(1);
my $tag = { submit => "upload_dif", dif_file => [ "$confdir/$login.$password.$boxname.$oldkey.dif" ] };
my ($res, $key) = mdkonline::send_config($url->{online_dif}, $tag);
#- update mdkupdate.rpms with newer version just sent.