From 83550d2c0fe9620b0ebd1d1c6fa5aed2b284fd71 Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Sat, 24 Oct 2020 17:50:15 +0200 Subject: [PATCH] Show the menu id instead of the failed command --- openbox/menu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openbox/menu.c b/openbox/menu.c index 8804e128..9001c8cb 100644 --- a/openbox/menu.c +++ b/openbox/menu.c @@ -166,7 +166,7 @@ void menu_pipe_execute(ObMenu *self) if (!g_spawn_command_line_sync(self->execute, &output, NULL, NULL, &err)) { g_message(_("Failed to execute command for pipe-menu \"%s\": %s"), - self->execute, err->message); + self->name, err->message); g_error_free(err); return; } -- 2.39.2