aboutsummaryrefslogtreecommitdiffstats
path: root/gurpmi.addmedia
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2004-02-05 15:23:36 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2004-02-05 15:23:36 +0000
commit779e786caf294eb0a757356ac2764b71bd75fa97 (patch)
tree157a06ac29c9d715a02a0a0cd092bf9fcd1759a8 /gurpmi.addmedia
parentf32bb1b6ff0b4f72ae325d027d44cd0ab3216d22 (diff)
downloadrpmdrake-779e786caf294eb0a757356ac2764b71bd75fa97.tar
rpmdrake-779e786caf294eb0a757356ac2764b71bd75fa97.tar.gz
rpmdrake-779e786caf294eb0a757356ac2764b71bd75fa97.tar.bz2
rpmdrake-779e786caf294eb0a757356ac2764b71bd75fa97.tar.xz
rpmdrake-779e786caf294eb0a757356ac2764b71bd75fa97.zip
return an erroneous exitcode when user didn't accept to carry on
Diffstat (limited to 'gurpmi.addmedia')
-rwxr-xr-xgurpmi.addmedia2
1 files changed, 1 insertions, 1 deletions
diff --git a/gurpmi.addmedia b/gurpmi.addmedia
index 53453da5..bacbc822 100755
--- a/gurpmi.addmedia
+++ b/gurpmi.addmedia
@@ -78,7 +78,7 @@ Is it ok to continue?",
N("You are about to add a new packages medium, `%s'.
That means you will be able to add new software packages
to your system from that new medium.", $name)),
- yesno => 1) or myexit(0);
+ yesno => 1) or myexit(-1);
my $urpm = urpm->new;
$urpm->read_config;