From 779e786caf294eb0a757356ac2764b71bd75fa97 Mon Sep 17 00:00:00 2001 From: Guillaume Cottenceau Date: Thu, 5 Feb 2004 15:23:36 +0000 Subject: return an erroneous exitcode when user didn't accept to carry on --- gurpmi.addmedia | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gurpmi.addmedia') 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; -- cgit v1.2.1