mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-08-06 23:17:28 +08:00
Change execSync/spawnSync to async (#4123)
* WIP * Add missing await * Update package-lock.json
This commit is contained in:
@@ -1223,9 +1223,9 @@ let needSetup = false;
|
||||
// Update nscd status
|
||||
if (previousNSCDStatus !== data.nscd) {
|
||||
if (data.nscd) {
|
||||
server.startNSCDServices();
|
||||
await server.startNSCDServices();
|
||||
} else {
|
||||
server.stopNSCDServices();
|
||||
await server.stopNSCDServices();
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user