diff options
Diffstat (limited to 'src/main.nim')
-rw-r--r-- | src/main.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.nim b/src/main.nim index a149000..9508b33 100644 --- a/src/main.nim +++ b/src/main.nim @@ -99,7 +99,7 @@ proc handleSync(args: seq[Argument], config: Config): int = if currentUser.uid != 0 and config.sudoExec and not printMode: execSudo(args) else: - let isNonDefaultRoot = not config.defaultRoot + let isNonDefaultRoot = not config.common.defaultRoot let isRootNoDrop = currentUser.uid == 0 and not canDropPrivileges() let build = args.check(%%%"build") |