Commit ec738148 authored by Christian Boltz's avatar Christian Boltz

aa-unconfined displays less unconfined processes in some languages (for

example with LANG=pt_BR) because a regex relies on netstat output.

Enforce LANG=C to make sure aa-unconfined always sees the expected output.
Acked-by: Steve Beattie's avatarSteve Beattie <[email protected]>
parent 198f660e
......@@ -60,7 +60,7 @@ if ($paranoid) {
@pids = grep { /^\d+$/ } readdir(PROC);
closedir(PROC);
} else {
if (open(NETSTAT, "/bin/netstat -nlp |")) {
if (open(NETSTAT, "LANG=C /bin/netstat -nlp |")) {
while (<NETSTAT>) {
chomp;
push @pids, $5
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment