Skip to content

Commit

Permalink
Workspace: Fix suid python
Browse files Browse the repository at this point in the history
  • Loading branch information
ConnorNelson committed Sep 7, 2024
1 parent 4733e12 commit 33ff753
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion workspace/core/suid_interpreter.c
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ int main(int argc, char **argv, char **envp)
int child_argc = 0;
for (int i = 0; child_argv_prefix[i]; i++)
child_argv[child_argc++] = child_argv_prefix[i];
#ifdef SUID_PYTHON || SUID_PYTHON_DOJO
#if defined(SUID_PYTHON) || defined(SUID_PYTHON_DOJO)
child_argv[child_argc++] = path;
#endif
for (int i = 2; i < argc; i++)
Expand Down

0 comments on commit 33ff753

Please sign in to comment.