From 56307d023cf9c27726e877f0d4c7d3769bf93881 Mon Sep 17 00:00:00 2001 From: Daouda Lo Date: Sun, 3 Oct 2004 06:36:13 +0000 Subject: - exit 1 --- mdkupdate | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mdkupdate') 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. -- cgit v1.2.1