diff --git a/headless/headless.go b/headless/headless.go index b618ab7..b96d188 100644 --- a/headless/headless.go +++ b/headless/headless.go @@ -22,7 +22,7 @@ type Config struct { MxID id.UserID } -func Init(conf Config, updates chan fmt.Stringer) Completed { +func Init(conf Config, updates chan fmt.Stringer) error { // setup package dir os.Setenv("GOMUKS_ROOT", conf.OutputDir) updates <- exportDirSet{dir: conf.OutputDir} diff --git a/headless/msg.go b/headless/msg.go index 5e749ce..fe428a4 100644 --- a/headless/msg.go +++ b/headless/msg.go @@ -61,5 +61,3 @@ type processingSync struct{} func (msg processingSync) String() string { return "Processing sync response…" } - -type Completed error