diff options
author | Daouda Lo <daouda@mandriva.com> | 2004-10-03 06:36:13 +0000 |
---|---|---|
committer | Daouda Lo <daouda@mandriva.com> | 2004-10-03 06:36:13 +0000 |
commit | 56307d023cf9c27726e877f0d4c7d3769bf93881 (patch) | |
tree | 274b72af792e7efcd56dcc08475dea2b01b3267c | |
parent | 121b38efc73b50306eaa6d7005a4367da305f5c6 (diff) | |
download | mgaonline-56307d023cf9c27726e877f0d4c7d3769bf93881.tar mgaonline-56307d023cf9c27726e877f0d4c7d3769bf93881.tar.gz mgaonline-56307d023cf9c27726e877f0d4c7d3769bf93881.tar.bz2 mgaonline-56307d023cf9c27726e877f0d4c7d3769bf93881.tar.xz mgaonline-56307d023cf9c27726e877f0d4c7d3769bf93881.zip |
- exit 1
-rwxr-xr-x | mdkupdate | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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. |