Skip to content

Commit

Permalink
check for absolute DE path
Browse files Browse the repository at this point in the history
  • Loading branch information
cylgom committed Jun 4, 2019
1 parent 1e6ec95 commit 5633128
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/login.c
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ void launch_xorg(struct passwd* pwd, pam_handle_t* pam_handle,
snprintf(cmd, sizeof(cmd),
"exec xinit %s %s%s -- %s %s %s %s %s %s -auth %s",
config.x_cmd_setup,
xinitrc ? "" : "/usr/bin/",
(xinitrc | (*de_command == '/')) ? "" : "/usr/bin/",
de_command, config.x_cmd,
config.hide_x ? "-keeptty >" : "",
config.hide_x ? config.hide_x_save_log : "",
Expand Down

0 comments on commit 5633128

Please sign in to comment.