Skip to content

Commit

Permalink
Workspace: Add sudo
Browse files Browse the repository at this point in the history
  • Loading branch information
ConnorNelson committed Sep 7, 2024
1 parent fb5e863 commit 53188df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion workspace/core/sudo.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def error(message):
def main():
program = os.path.basename(sys.argv[0])

if not os.path.exists("/run/dojo/var/root/priviliged"):
if not os.path.exists("/run/dojo/var/root/privileged"):
error(f"{program}: workspace is not privileged")

os.setuid(os.geteuid())
Expand Down

0 comments on commit 53188df

Please sign in to comment.