diff options
-rw-r--r-- | buildstream/element.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/buildstream/element.py b/buildstream/element.py index e0d8ce77d..9999f5022 100644 --- a/buildstream/element.py +++ b/buildstream/element.py @@ -774,7 +774,8 @@ class Element(Plugin): for i in range(len(commands)): cmd = self.node_subst_list_element(bstdata, 'integration-commands', [i]) self.status("Running integration command", detail=cmd) - exitcode = sandbox.run(['sh', '-e', '-c', cmd], 0, env=environment, cwd='/') + exitcode = sandbox.run(['sh', '-e', '-c', cmd], SandboxFlags.NONE, + env=environment, cwd='/') if exitcode != 0: raise ElementError("Command '{}' failed with exitcode {}".format(cmd, exitcode)) |