1
0
mirror of https://github.com/tmux/tmux.git synced 2025-03-24 14:58:47 +00:00

Nuke a redundant if statement, from Tiago Cunha.

This commit is contained in:
Nicholas Marriott 2011-05-25 17:50:52 +00:00
parent 240cae4c92
commit 70d232289b

View File

@ -88,11 +88,7 @@ cmd_if_shell_callback(struct job *job)
return;
}
if (cmd_list_exec(cmdlist, ctx) < 0) {
cmd_list_free(cmdlist);
return;
}
cmd_list_exec(cmdlist, ctx);
cmd_list_free(cmdlist);
}