From 8b8d0963da522c3a0ac4e99dc9264b6fda2b477a Mon Sep 17 00:00:00 2001 From: nicm Date: Thu, 16 Feb 2017 10:53:25 +0000 Subject: Style nits. --- tmux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tmux.c') 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); -- cgit v1.2.3