From 53188df3fed6ee49f97e25c7b8e930cd2706d5f2 Mon Sep 17 00:00:00 2001 From: Connor Nelson Date: Sat, 7 Sep 2024 14:39:08 -0700 Subject: [PATCH] Workspace: Add sudo --- workspace/core/sudo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/workspace/core/sudo.py b/workspace/core/sudo.py index 1e7de3a8..b35f13b8 100644 --- a/workspace/core/sudo.py +++ b/workspace/core/sudo.py @@ -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())