summaryrefslogtreecommitdiffstats
path: root/mdkupdate
diff options
context:
space:
mode:
authorDaouda Lo <daouda@mandriva.com>2004-09-27 04:28:25 +0000
committerDaouda Lo <daouda@mandriva.com>2004-09-27 04:28:25 +0000
commit5efc7ec22b43e4c4ca88fc86b7107cbfde8f0640 (patch)
tree124dd57ce76851bab8e9be6c90721f55818178bc /mdkupdate
parent25e3c9cf54e7b5f908e2091dd16b173b94f49bf9 (diff)
downloadmgaonline-5efc7ec22b43e4c4ca88fc86b7107cbfde8f0640.tar
mgaonline-5efc7ec22b43e4c4ca88fc86b7107cbfde8f0640.tar.gz
mgaonline-5efc7ec22b43e4c4ca88fc86b7107cbfde8f0640.tar.bz2
mgaonline-5efc7ec22b43e4c4ca88fc86b7107cbfde8f0640.tar.xz
mgaonline-5efc7ec22b43e4c4ca88fc86b7107cbfde8f0640.zip
- exit not die when things are ok
Diffstat (limited to 'mdkupdate')
-rwxr-xr-xmdkupdate2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdkupdate b/mdkupdate
index 234722c5..1bd68139 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 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.