summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS3
-rwxr-xr-xgurpmi22
2 files changed, 4 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index df8580a4..20442821 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,6 @@
+- gurpmi:
+ o fix exiting in --auto mode
+
Version 6.14 - 23 September 2008
- use "versioned" media_info files
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);