mirror of
https://github.com/tmate-io/tmate.git
synced 2024-12-24 07:38:53 +01:00
Sync OpenBSD patchset 819:
Nuke a redundant if statement, from Tiago Cunha.
This commit is contained in:
parent
e14bf9bb8f
commit
28427efbac
@ -1,4 +1,4 @@
|
||||
/* $Id: cmd-if-shell.c,v 1.12 2011-02-15 15:20:03 tcunha Exp $ */
|
||||
/* $OpenBSD: cmd-if-shell.c,v 1.12 2011/05/25 17:50:52 nicm Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2009 Tiago Cunha <me@tiagocunha.org>
|
||||
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user