diff options
| author | Nick White <git@njw.name> | 2020-05-22 18:14:52 +0100 |
|---|---|---|
| committer | Nick White <git@njw.name> | 2020-05-22 18:14:52 +0100 |
| commit | 519244c01ff6a5cd3550fc44656b6eb741b99a8a (patch) | |
| tree | 21836387e5223772c2c339ca1d7ae6c3ba281070 /cmd | |
| parent | 0547ff4c377ec2905f717969f07779208b5bded4 (diff) | |
Fix bookpipeline failing if shutdown option isnt used
Diffstat (limited to 'cmd')
| -rw-r--r-- | cmd/bookpipeline/main.go | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/cmd/bookpipeline/main.go b/cmd/bookpipeline/main.go index 3b9befb..9618e93 100644 --- a/cmd/bookpipeline/main.go +++ b/cmd/bookpipeline/main.go @@ -727,9 +727,7 @@ func main() { if !*noanalyse { checkAnalyseQueue = time.After(0) } - if *autoshutdown { - shutdownIfQuiet = time.NewTimer(TimeBeforeShutdown) - } + shutdownIfQuiet = time.NewTimer(TimeBeforeShutdown) savelognow = time.NewTicker(LogSaveTime) for { |
