home: allow disableing list

This commit is contained in:
Tom 2023-04-27 10:49:30 +02:00
parent 35544bd64c
commit 5e9795ad0c
9 changed files with 127 additions and 32 deletions

View file

@ -59,6 +59,12 @@ var errUserIsNotRoot = exit.Error{
Message: "this command has to be executed as root. the current user is not root",
}
// an error when cgo is enabled
var errCGoEnabled = exit.Error{
ExitCode: exit.ExitGeneralArguments,
Message: "this command has to be executed as root. the current user is not root",
}
const warnNoDeployWdcli = "Warning: Not using %q executable at %q. This might leave the distillery in an inconsistent state. \n"
func NewProgram() Program {