From 92f510a6472064f4e4cb47ffb4f81898fc0a62ae Mon Sep 17 00:00:00 2001 From: Ophestra Date: Sat, 6 Sep 2025 00:09:25 +0900 Subject: cmd/hakurei/command: pd run dbus-verbose nil check This otherwise dereferences a nil pointer when dbus-verbose is set and either session or system bus are nil. Signed-off-by: Ophestra --- test/test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/test.py b/test/test.py index 96253534..4240b8f4 100644 --- a/test/test.py +++ b/test/test.py @@ -149,7 +149,7 @@ silent_output_interrupt("--wayland -X --dbus --pulse ") print(machine.fail("sudo -u alice -i hakurei -v run --wayland true")) # Start hakurei permissive defaults within Wayland session: -hakurei('-v run --wayland --dbus notify-send -a "NixOS Tests" "Test notification" "Notification from within sandbox." && touch /tmp/dbus-ok') +hakurei('-v run --wayland --dbus --dbus-log notify-send -a "NixOS Tests" "Test notification" "Notification from within sandbox." && touch /tmp/dbus-ok') machine.wait_for_file("/tmp/dbus-ok", timeout=15) collect_state_ui("dbus_notify_exited") # not in pid namespace, verify termination -- cgit v1.3.1