summaryrefslogtreecommitdiffstats
path: root/gurpmi2
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-03-03 15:49:38 +0000
committerThierry Vignaud <tv@mandriva.org>2008-03-03 15:49:38 +0000
commitc70ebf61148c65f0dd7a2e385e55c45d94b3c8df (patch)
treea37191795647c279c276ba58e0451268c51960d6 /gurpmi2
parente5acb42704f1c1a07096d1a79d85632babab5797 (diff)
downloadurpmi-c70ebf61148c65f0dd7a2e385e55c45d94b3c8df.tar
urpmi-c70ebf61148c65f0dd7a2e385e55c45d94b3c8df.tar.gz
urpmi-c70ebf61148c65f0dd7a2e385e55c45d94b3c8df.tar.bz2
urpmi-c70ebf61148c65f0dd7a2e385e55c45d94b3c8df.tar.xz
urpmi-c70ebf61148c65f0dd7a2e385e55c45d94b3c8df.zip
better style
Diffstat (limited to 'gurpmi2')
-rwxr-xr-xgurpmi22
1 files changed, 1 insertions, 1 deletions
diff --git a/gurpmi2 b/gurpmi2
index c969a65c..ee40c6a8 100755
--- a/gurpmi2
+++ b/gurpmi2
@@ -161,7 +161,7 @@ sub ask_choice {
foreach (@radios) { last if $_->get_active; ++$n }
}
$d->destroy;
- exit 0 if $_[1] == 0; #- "cancel"
+ exit(0) if $_[1] == 0; #- "cancel"
});
$radios[0]->set_active(1);
$d->set_default_response(1); # defaults to ok