mirror of
https://github.com/perlbot/perlbuut
synced 2025-06-07 17:15:40 -04:00
Fix profile selection
This commit is contained in:
parent
e7fd3eeda3
commit
f1b4a20f5c
1 changed files with 1 additions and 1 deletions
|
@ -287,7 +287,7 @@ use Storable qw/nfreeze/; nfreeze([]); #Preload Nfreeze since it's loaded on dem
|
||||||
# close STDIN;
|
# close STDIN;
|
||||||
|
|
||||||
# Setup SECCOMP for us
|
# Setup SECCOMP for us
|
||||||
my ($profile) = ($type =~ /^(\w+)/g);
|
my ($profile) = ($type =~ /^([a-z]+)/ig);
|
||||||
my $esc = EvalServer::Seccomp->new(profiles => ["lang_$profile"]);
|
my $esc = EvalServer::Seccomp->new(profiles => ["lang_$profile"]);
|
||||||
$esc->engage();
|
$esc->engage();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue