diff options
-rwxr-xr-x | mgaapplet | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } |