~kennylevinsen/poweralertd-devel

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
1

[PATCH] Ignore configuration also works for the removal of devices

Details
Message ID
<20240218102901.66267-1-damien.dev@tardypad.me>
DKIM signature
pass
Download raw message
Patch: +4 -0
---
 main.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/main.c b/main.c
index 3dadda1..219c79d 100644
--- a/main.c
+++ b/main.c
@@ -237,6 +237,10 @@ next_device:
		for (int idx = 0; idx < state.removed_devices->length; idx++) {
			struct upower_device *device = state.removed_devices->items[idx];

			if ((ignore_types_mask & (1 << device->type))) {
				continue;
			}

			ret = send_remove(user_bus, device);
			if (ret < 0) {
				fprintf(stderr, "could not send device removal notification: %s\n", strerror(-ret));
-- 
2.43.2
Details
Message ID
<946c6ff2-08ba-4449-b997-29571d57fc60@kl.wtf>
In-Reply-To
<20240218102901.66267-1-damien.dev@tardypad.me> (view parent)
DKIM signature
pass
Download raw message
Applied, thanks!
Reply to thread Export thread (mbox)