mirror of
https://github.com/tmate-io/tmate.git
synced 2025-07-13 20:45:01 +02:00
Nuke a redundant if statement, from Tiago Cunha.
This commit is contained in:
@ -88,11 +88,7 @@ cmd_if_shell_callback(struct job *job)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (cmd_list_exec(cmdlist, ctx) < 0) {
|
cmd_list_exec(cmdlist, ctx);
|
||||||
cmd_list_free(cmdlist);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
cmd_list_free(cmdlist);
|
cmd_list_free(cmdlist);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user