mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 08:24:42 +01:00
Fix $options -> @options in previous patch. Fix tabs -> spaces.
Acked-by: Seth Arnold <seth.arnold@canonical.com> Acked-by: Steve Beattie <sbeattie@ubuntu.com>
This commit is contained in:
parent
9d5269b601
commit
09c2da3a69
1 changed files with 4 additions and 4 deletions
|
@ -3879,8 +3879,8 @@ sub ask_the_questions() {
|
|||
$newpath =~ s/\/[^\/]+$/\/\*/;
|
||||
}
|
||||
}
|
||||
if (not $newpath ~~ $options) {
|
||||
push @options, $newpath;
|
||||
if (not $newpath ~~ @options) {
|
||||
push @options, $newpath;
|
||||
$defaultoption = $#options + 1;
|
||||
}
|
||||
}
|
||||
|
@ -3897,8 +3897,8 @@ sub ask_the_questions() {
|
|||
$newpath =~ s/\/[^\/]+(\.[^\/]+)$/\/\*$1/;
|
||||
}
|
||||
if (not $newpath ~~ @options) {
|
||||
push @options, $newpath;
|
||||
$defaultoption = $#options + 1;
|
||||
push @options, $newpath;
|
||||
$defaultoption = $#options + 1;
|
||||
}
|
||||
}
|
||||
} elsif ($ans =~ /\d/) {
|
||||
|
|
Loading…
Add table
Reference in a new issue