summaryrefslogtreecommitdiffstats
path: root/gurpmi2
diff options
context:
space:
mode:
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);