1
0
Fork 0
mirror of https://github.com/perlbot/perlbuut synced 2025-06-07 17:05:43 -04:00

Fix profile selection

This commit is contained in:
Ryan Voots 2017-05-06 05:02:26 -04:00
parent e7fd3eeda3
commit f1b4a20f5c

View file

@ -287,7 +287,7 @@ use Storable qw/nfreeze/; nfreeze([]); #Preload Nfreeze since it's loaded on dem
# close STDIN;
# Setup SECCOMP for us
my ($profile) = ($type =~ /^(\w+)/g);
my ($profile) = ($type =~ /^([a-z]+)/ig);
my $esc = EvalServer::Seccomp->new(profiles => ["lang_$profile"]);
$esc->engage();