aboutsummaryrefslogtreecommitdiff
path: root/tmux.c
diff options
context:
space:
mode:
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 d5e962df..12402bb5 100644
--- a/tmux.c
+++ b/tmux.c
@@ -81,7 +81,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);