diff options
author | Christophe Fergeau <cfergeau@mandriva.com> | 2009-10-14 07:45:25 +0000 |
---|---|---|
committer | Christophe Fergeau <cfergeau@mandriva.com> | 2009-10-14 07:45:25 +0000 |
commit | c3ca6c2f07b7cbda32b43dde6a371c7b087d42ae (patch) | |
tree | e445100e19339051b472c1b36c66fade0c0a9318 /urpm/main_loop.pm | |
parent | 798389fa543ac5808a6b0589c6b8e14f8eda3fd2 (diff) | |
download | urpmi-c3ca6c2f07b7cbda32b43dde6a371c7b087d42ae.tar urpmi-c3ca6c2f07b7cbda32b43dde6a371c7b087d42ae.tar.gz urpmi-c3ca6c2f07b7cbda32b43dde6a371c7b087d42ae.tar.bz2 urpmi-c3ca6c2f07b7cbda32b43dde6a371c7b087d42ae.tar.xz urpmi-c3ca6c2f07b7cbda32b43dde6a371c7b087d42ae.zip |
don't call exit in main_loop or titi won't be so happy ;)
Diffstat (limited to 'urpm/main_loop.pm')
-rw-r--r-- | urpm/main_loop.pm | 2 |
1 files changed, 1 insertions, 1 deletions
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; } } |