summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go10
1 files changed, 10 insertions, 0 deletions
diff --git a/main.go b/main.go
index 4c239c0..921a787 100644
--- a/main.go
+++ b/main.go
@@ -47,8 +47,18 @@ func main() {
cBox.computeControlValues()
// verify the values for the package
+ if cBox.status == nil {
+ log.Info("argv.Repo =", argv.Repo)
+ log.Info("repo not found. Try:")
+ log.Info("")
+ log.Info(" go-clone", argv.Repo)
+ log.Info("")
+ os.Exit(-1)
+ }
+
if argv.NoGui {
shell.TestTerminalColor()
+ // basicWindow.Show() // broken gui package. convert to protobuf
if ok, err := cBox.buildPackage(); ok {
log.Info("build worked")
} else {