diff --git a/ocis/cmd/ocis/main.go b/ocis/cmd/ocis/main.go index 308bfed19..c4e426d3c 100644 --- a/ocis/cmd/ocis/main.go +++ b/ocis/cmd/ocis/main.go @@ -1,6 +1,7 @@ package main import ( + "fmt" "os" "github.com/owncloud/ocis/v2/ocis/pkg/command" @@ -8,6 +9,7 @@ import ( func main() { if err := command.Execute(); err != nil { + fmt.Fprintln(os.Stderr, err.Error()) os.Exit(1) } }