Skip to content

Commit

Permalink
fastgame_apply: monitoring the removal of the presets file and exitti…
Browse files Browse the repository at this point in the history
…ng accordingly
  • Loading branch information
wwmm committed Sep 18, 2024
1 parent 8a4a4fe commit 4334db6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/netlink.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ void Netlink::handle_events() {

auto* nlmsg_hdr = reinterpret_cast<nlmsghdr*>(buff.data());

while (NLMSG_OK(nlmsg_hdr, len)) {
while (NLMSG_OK(nlmsg_hdr, len) && listen) {
if (!std::filesystem::is_regular_file(input_file)) {
return;
}
Expand Down

0 comments on commit 4334db6

Please sign in to comment.