This commit is contained in:
Renge 2022-04-15 23:44:45 -04:00
parent 92398a533a
commit a6187dafc3

View File

@ -341,7 +341,7 @@ int jobs_run(PIPELINE *pline) {
} }
// get args // get args
char **args = jobs_get_args(pline->commands->args); char **args = jobs_get_args(ptr->args);
// run command // run command
if (execvp(args[0], args) == -1) { if (execvp(args[0], args) == -1) {