mirror of
https://github.com/photoprism/photoprism.git
synced 2025-12-12 00:34:13 +01:00
Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
@@ -55,7 +55,7 @@ func optimizeAction(ctx *cli.Context) error {
|
||||
interval = 0
|
||||
}
|
||||
|
||||
if err := worker.Start(delay, interval, force); err != nil {
|
||||
if err = worker.Start(delay, interval, force); err != nil {
|
||||
return err
|
||||
} else {
|
||||
elapsed := time.Since(start)
|
||||
|
||||
Reference in New Issue
Block a user