diff options
author | kitsunyan | 2018-10-22 11:22:24 +0000 |
---|---|---|
committer | kitsunyan | 2018-10-22 11:22:24 +0000 |
commit | 55507df52ba95c2d97f02f2c4d0cdd2355cadaa2 (patch) | |
tree | 50e8c3a2d1e8b3d1be4c6248cc4cca8402ae1de3 /src/main.nim | |
parent | a953c4c49cff505b16d08d87a58962a878bc5127 (diff) |
Replace config object tree with tuples
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") |