summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/main.go b/main.go
index b88749c..c5ab1b1 100644
--- a/main.go
+++ b/main.go
@@ -36,6 +36,7 @@ func main() {
// scan the repo
cBox.addRepo(args.Repo)
+
// look for a 'config' file in the repo
if cBox.readControlFile() == nil {
log.Warn("scan worked")
@@ -50,6 +51,7 @@ func main() {
log.Info("build worked")
} else {
log.Warn("build failed")
+ os.Exit(-1)
}
os.Exit(0)
}