cmd/status.go
changeset 47 82d8b6074309
parent 45 b58a7ea1aeb2
child 71 67e3234c26a9
--- a/cmd/status.go	Sun Apr 30 23:22:09 2017 +0200
+++ b/cmd/status.go	Sun Apr 30 23:35:49 2017 +0200
@@ -7,6 +7,7 @@
 
 import (
 	"io/ioutil"
+	"os"
 	"strings"
 
 	"github.com/pkg/errors"
@@ -251,7 +252,7 @@
 
 	if err != nil {
 		errPrint("Error: %s", err.Error())
-		return nil
+		os.Exit(1)
 	}
 	if obj == nil {
 		return nil