diff options
author | 2017-02-16 10:53:25 +0000 | |
---|---|---|
committer | 2017-02-16 10:53:25 +0000 | |
commit | b81242d0662b928a5437d87d4a2026777bb1edc6 (patch) | |
tree | 7df213e680d72ff65428ce1e7bb2a6a6a8a32a12 /usr.bin/tmux/tmux.c | |
parent | Revert "Release the NET_LOCK() before entering per-driver ioctl() routine". (diff) | |
download | wireguard-openbsd-b81242d0662b928a5437d87d4a2026777bb1edc6.tar.xz wireguard-openbsd-b81242d0662b928a5437d87d4a2026777bb1edc6.zip |
Style nits.
Diffstat (limited to 'usr.bin/tmux/tmux.c')
-rw-r--r-- | usr.bin/tmux/tmux.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/tmux.c b/usr.bin/tmux/tmux.c index ccc0a0795bb..488c7ccd3f3 100644 --- a/usr.bin/tmux/tmux.c +++ b/usr.bin/tmux/tmux.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tmux.c,v 1.176 2017/01/23 10:09:43 nicm Exp $ */ +/* $OpenBSD: tmux.c,v 1.177 2017/02/16 10:53:25 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -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); |