summaryrefslogtreecommitdiff
path: root/pkg/gonf.go
diff options
context:
space:
mode:
authorJulien Dessaux2024-03-26 08:31:53 +0100
committerJulien Dessaux2024-03-26 08:31:53 +0100
commitf51843f634ed37d02558ba49cda7c24764f928ac (patch)
treee8c4775268141671e5815a30f2e8976ef1a6dfc8 /pkg/gonf.go
parentchore(packages): removed useless packages list hook function and debian stdli... (diff)
downloadgonf-f51843f634ed37d02558ba49cda7c24764f928ac.tar.gz
gonf-f51843f634ed37d02558ba49cda7c24764f928ac.tar.bz2
gonf-f51843f634ed37d02558ba49cda7c24764f928ac.zip
feat(users): implemented basic user creation promise
Diffstat (limited to '')
-rw-r--r--pkg/gonf.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/pkg/gonf.go b/pkg/gonf.go
index 88edf9c..5e02176 100644
--- a/pkg/gonf.go
+++ b/pkg/gonf.go
@@ -14,6 +14,14 @@ func EnableDebugLogs() {
func Resolve() (status Status) {
for {
+ // ----- Users -------------------------------------------------
+ status = resolveUsers()
+ switch status {
+ case BROKEN:
+ return BROKEN
+ case REPAIRED:
+ continue
+ }
// ----- Files -------------------------------------------------
status = resolveFiles()
switch status {