summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xmgaapplet2
1 files changed, 1 insertions, 1 deletions
diff --git a/mgaapplet b/mgaapplet
index 0f82b094..967b0889 100755
--- a/mgaapplet
+++ b/mgaapplet
@@ -226,7 +226,7 @@ $icon->signal_connect(activate => sub {
$click_actions{$action}->() if ref $click_actions{$action};
});
foreach my $opt (@ARGV) {
- if ($opt eq '--force' || $opt eq '-f') { setAutoStart('TRUE') }
+ if (member($opt, qw(--force -f))) { setAutoStart('TRUE') }
if ($opt =~ /--(rpm-root|urpmi-root)=(.*)/) {
$::rpmdrake_options{$1}[0] = $2;
}