summaryrefslogtreecommitdiffstats
path: root/tmux.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2017-02-16 12:01:21 +0000
committerThomas Adam <thomas@xteddy.org>2017-02-16 12:01:21 +0000
commitf734d81074c6bd587b36c7d49dc359821412c29c (patch)
tree1e7ee13c6355697f62c20ec15edbc9c7ded2726e /tmux.c
parentc9f2dc5ee5ffc2d71f492b23ff1ee80619c12258 (diff)
parent8b8d0963da522c3a0ac4e99dc9264b6fda2b477a (diff)
Merge branch 'obsd-master'
Diffstat (limited to 'tmux.c')
-rw-r--r--tmux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tmux.c b/tmux.c
index d0de6239..c9ae92ef 100644
--- a/tmux.c
+++ b/tmux.c
@@ -80,7 +80,7 @@ getshell(void)
static int
checkshell(const char *shell)
{
- if (shell == NULL || *shell == '\0' || *shell != '/')
+ if (shell == NULL || *shell != '/')
return (0);
if (areshell(shell))
return (0);