Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ConnorNelson committed Oct 4, 2024
1 parent ea82ccc commit 9593589
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 @@ -12,7 +12,7 @@ def error(message):
def main():
program = os.path.basename(sys.argv[0])

privileged = int(open("/run/dojo/sys/privileged", "r").read())
privileged = int(open("/run/dojo/sys/workspace/privileged", "r").read())
if not privileged:
error(f"{program}: workspace is not privileged")

Expand Down

0 comments on commit 9593589

Please sign in to comment.