mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-07-22 06:29:17 -04:00
Change execSync/spawnSync to async (#4123)
* WIP * Add missing await * Update package-lock.json
This commit is contained in:
parent
73239d441d
commit
1708b67949
6 changed files with 23 additions and 16 deletions
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue