summaryrefslogtreecommitdiffstats
path: root/tmux.c
diff options
context:
space:
mode:
authornicm <nicm>2017-02-16 10:53:25 +0000
committernicm <nicm>2017-02-16 10:53:25 +0000
commit8b8d0963da522c3a0ac4e99dc9264b6fda2b477a (patch)
tree43fa691802d7922ec30c8f79b719a20cf3aea657 /tmux.c
parentdd25a6cdc21c76888c370a053ca2adb710a89cdf (diff)
Style nits.
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);