From 09c2da3a69009f5b8db3ab3f019d32f99e1c9f2a Mon Sep 17 00:00:00 2001 From: Seth Arnold Date: Tue, 9 Jul 2013 16:03:09 -0700 Subject: [PATCH] Fix $options -> @options in previous patch. Fix tabs -> spaces. Acked-by: Seth Arnold Acked-by: Steve Beattie --- utils/Immunix/AppArmor.pm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/utils/Immunix/AppArmor.pm b/utils/Immunix/AppArmor.pm index 52d02ed74..c7f29a492 100755 --- a/utils/Immunix/AppArmor.pm +++ b/utils/Immunix/AppArmor.pm @@ -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/) {