summaryrefslogtreecommitdiff
path: root/exit.go
blob: 01ac9a5be4e352e2cba7d5b88ee98bae0489ffca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package config

// this is an experiment at this point to
// see how this turns out

import (
	"fmt"
	"os"
)

// todo: figure out how to pass this back to argv
func BadExit(reason string, err error) {
	fmt.Println("lib/config bad exit. no app callback here. FIXME", reason, err)
	os.Exit(-1)
}