summaryrefslogtreecommitdiffstats
path: root/gurpmi2
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-10-06 12:04:24 +0000
committerThierry Vignaud <tv@mandriva.org>2008-10-06 12:04:24 +0000
commit3ab15eae460817ca35424a2e09dddf44cbe7d115 (patch)
tree769c749b41a8da6c9ee69965764162e7292ab76e /gurpmi2
parent820f15c75bb1f732e0732505437dda8db1733b65 (diff)
downloadurpmi-3ab15eae460817ca35424a2e09dddf44cbe7d115.tar
urpmi-3ab15eae460817ca35424a2e09dddf44cbe7d115.tar.gz
urpmi-3ab15eae460817ca35424a2e09dddf44cbe7d115.tar.bz2
urpmi-3ab15eae460817ca35424a2e09dddf44cbe7d115.tar.xz
urpmi-3ab15eae460817ca35424a2e09dddf44cbe7d115.zip
(do_install_3) do not exit in --auto mode at end of installation which prevents
restarting after priority upgrade
Diffstat (limited to 'gurpmi2')
-rwxr-xr-xgurpmi22
1 files changed, 1 insertions, 1 deletions
diff --git a/gurpmi2 b/gurpmi2
index 944c2a15..1301c6d1 100755
--- a/gurpmi2
+++ b/gurpmi2
@@ -317,7 +317,7 @@ sub do_install_3 () {
urpm::removable::try_umounting_removables($urpm);
$vbox = Gtk2::VBox->new(0, 5);
$progress_label = Gtk2::Label->new('-');
- exit 0 if $gurpmi::options{auto};
+ return 0 if $gurpmi::options{auto};
my $sw = create_scrolled_window($progress_label);
$sw->set_size_request(500, 200);
$vbox->pack_start($sw, 1, 1, 0);