Use _PATH_BSHELL in nagbar script as well
This commit is contained in:
parent
d2acdcc69f
commit
191c394db8
|
@ -169,7 +169,7 @@ static void handle_button_release(xcb_connection_t *conn, xcb_button_release_eve
|
|||
warn("Could not fdopen() temporary script to store the nagbar command");
|
||||
return;
|
||||
}
|
||||
fprintf(script, "#!/bin/sh\nrm %s\n%s", script_path, button->action);
|
||||
fprintf(script, "#!%s\nrm %s\n%s", _PATH_BSHELL, script_path, button->action);
|
||||
/* Also closes fd */
|
||||
fclose(script);
|
||||
|
||||
|
|
Loading…
Reference in New Issue