diff --git a/serve.js b/serve.js index 499df6cfe..129fd9890 100644 --- a/serve.js +++ b/serve.js @@ -92,7 +92,7 @@ async function serve({ jobs = false, websockets = false } = {}) { } catch (e) { // Check the error. switch (e) { - case (errors.ErrInstallLock, errors.ErrSettingsInit): + case (errors.ErrInstallLock || errors.ErrSettingsInit): debug('setup is not currently available, migrations now being checked'); // The error was expected, just continue.