fixed logic

This commit is contained in:
Wyatt Johnson
2018-02-12 19:17:58 -07:00
parent e9a781607a
commit ec8cfdf5f7
+2 -1
View File
@@ -92,7 +92,8 @@ async function serve({ jobs = false, websockets = false } = {}) {
} catch (e) {
// Check the error.
switch (e) {
case errors.ErrInstallLock || errors.ErrSettingsInit:
case errors.ErrInstallLock:
case errors.ErrSettingsInit:
debug('setup is not currently available, migrations now being checked');
// The error was expected, just continue.