xkbcommon
Alessandro Mauri 4 years ago
parent 1fb0a4c6fa
commit 3c9bbe4140
  1. 2
      hkd.c

@ -253,7 +253,7 @@ void exec_command (char *path)
break; break;
case 0: case 0:
/* we are the child */ /* we are the child */
if(execv(path, argv) < 0) { if(execvp(path, argv) < 0) {
/* execv only returns if an error occured, so we exit /* execv only returns if an error occured, so we exit
* otherwise we duplicate the process */ * otherwise we duplicate the process */
fprintf(stderr, ANSI_COLOR_RED "Could not run %s\n" ANSI_COLOR_RESET fprintf(stderr, ANSI_COLOR_RED "Could not run %s\n" ANSI_COLOR_RESET

Loading…
Cancel
Save