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:15:14 +0100 | 
| commit | 3d2bdd1d30ec6d43b4921d29d5a8338d65c48a5a (patch) | |
| tree | f3709eb4e5fe7224e929d4c195c1fc47c4a07026 | |
| parent | 60af66d9ba77a61e61ef71d02c8e30198c433c87 (diff) | |
Fix bookpipeline failing if shutdown option isnt used
| -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 { | 
