mirror of https://github.com/n1nj4sec/pupy.git
create-workspace: make assumption if linux64 failed to compile
This commit is contained in:
parent
64754567de
commit
3096453db9
|
@ -274,7 +274,13 @@ def build_templates(
|
|||
'client/' + TEMPLATES[template] + '/build-docker.sh'
|
||||
])
|
||||
|
||||
try:
|
||||
subprocess.check_call(args, stderr=subprocess.STDOUT)
|
||||
except subprocess.CalledProcessError as e:
|
||||
if e.returncode == 139 and template == 'linux64':
|
||||
print("[!] Likely you must to enable vsyscall=emulate")
|
||||
|
||||
raise
|
||||
|
||||
if persistent:
|
||||
update_commands.append(
|
||||
|
|
Loading…
Reference in New Issue