summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/main.go b/main.go
index bf58df2..b655142 100644
--- a/main.go
+++ b/main.go
@@ -65,7 +65,7 @@ func main() {
err = readInput(p)
if err != nil {
log.Printf("Error reading input: %s", err)
- continue
+ goto SLEEP
}
for inputLine, taskAddingJob := range jobsFromInput {
@@ -88,6 +88,7 @@ func main() {
}
}
+ SLEEP:
time.Sleep(time.Minute)
}