Skip to content

Commit

Permalink
- Fix that for windows the module startup is called and sets up
Browse files Browse the repository at this point in the history
  the module-config.
  • Loading branch information
wcawijngaards committed Aug 8, 2024
1 parent 158c1de commit 5abdd09
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions doc/Changelog
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
Anat Bremler-Barr, Shoham Danino and Yuval Shavitt (Tel-Aviv
University and Reichman University).
- Set version number to 1.21.0 for release.
- Fix that for windows the module startup is called and sets up
the module-config.

2 August 2024: Wouter
- Fix that alloc stats has strdup checks, it stops debuggers from
Expand Down
4 changes: 4 additions & 0 deletions winrc/win_svc.c
Original file line number Diff line number Diff line change
Expand Up @@ -352,6 +352,10 @@ service_init(int r, struct daemon** d, struct config_file** c)
daemon_apply_cfg(daemon, cfg);

if(!r) report_status(SERVICE_START_PENDING, NO_ERROR, 2300);
if(!r) {
if(!daemon_privileged(daemon))
fatal_exit("could not do privileged setup");
}
if(!(daemon->rc = daemon_remote_create(cfg))) {
log_err("could not set up remote-control");
daemon_delete(daemon);
Expand Down

0 comments on commit 5abdd09

Please sign in to comment.