summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cmd/bookpipeline/main.go4
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 {