diff options
author | Daouda Lo <daouda@mandriva.com> | 2004-09-27 04:28:25 +0000 |
---|---|---|
committer | Daouda Lo <daouda@mandriva.com> | 2004-09-27 04:28:25 +0000 |
commit | 5efc7ec22b43e4c4ca88fc86b7107cbfde8f0640 (patch) | |
tree | 124dd57ce76851bab8e9be6c90721f55818178bc | |
parent | 25e3c9cf54e7b5f908e2091dd16b173b94f49bf9 (diff) | |
download | mgaonline-5efc7ec22b43e4c4ca88fc86b7107cbfde8f0640.tar mgaonline-5efc7ec22b43e4c4ca88fc86b7107cbfde8f0640.tar.gz mgaonline-5efc7ec22b43e4c4ca88fc86b7107cbfde8f0640.tar.bz2 mgaonline-5efc7ec22b43e4c4ca88fc86b7107cbfde8f0640.tar.xz mgaonline-5efc7ec22b43e4c4ca88fc86b7107cbfde8f0640.zip |
- exit not die when things are ok
-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 die N("No diff found"); + -s "$confdir/$login.$password.$boxname.$oldkey.dif" or exit(0); 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. |