Add Diagnostics (#203)

* Add container suplimentary groups support

* Add diagnostic gathering

* Fix incorrect userid group searching

* one last tiny fix

* one last tiny fix
This commit is contained in:
Rob Parker
2018-09-03 17:08:26 +01:00
committed by GitHub
parent 9a7d44fef6
commit 3989661778
4 changed files with 82 additions and 12 deletions

View File

@@ -58,14 +58,16 @@ func doMain() error {
// Start signal handler
signalControl := signalHandler(name)
// Enable diagnostic collecting on failure
collectDiagOnFail = true
err = logConfig()
err = verifyCurrentUser()
if err != nil {
logTermination(err)
return err
}
err = verifyCurrentUser()
err = logConfig()
if err != nil {
logTermination(err)
return err