From c3ca6c2f07b7cbda32b43dde6a371c7b087d42ae Mon Sep 17 00:00:00 2001 From: Christophe Fergeau Date: Wed, 14 Oct 2009 07:45:25 +0000 Subject: don't call exit in main_loop or titi won't be so happy ;) --- urpm/main_loop.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'urpm/main_loop.pm') diff --git a/urpm/main_loop.pm b/urpm/main_loop.pm index dd519105..afdb4aec 100644 --- a/urpm/main_loop.pm +++ b/urpm/main_loop.pm @@ -105,7 +105,7 @@ if ($urpm->{options}{'download-all'}) { if ($download_size >= $available*1000) { my $noexpr = N("Nn"); my $p = N("There is not enough space on your filesystem to download all packages (%s needed, %s available).\nAre you sure you want to continue?", formatXiB($download_size), formatXiB($available*1000)); - $force || urpm::msg::ask_yes_or_no($p) or exit 0; + $force || urpm::msg::ask_yes_or_no($p) or return 10; } } -- cgit v1.2.1