summaryrefslogtreecommitdiffstats
path: root/mdkupdate
diff options
context:
space:
mode:
Diffstat (limited to 'mdkupdate')
-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.