aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authornicm <nicm>2020-03-17 11:10:12 +0000
committernicm <nicm>2020-03-17 11:10:12 +0000
commit115bb33257ece9eec1c890cc04683227678a895f (patch)
tree0352f5aa8363bd3f98f9c6f2f94d0354c85a88d0 /tmux.h
parentfb396286ff8330f35eae54f47b7f233839a23e6f (diff)
downloadrtmux-115bb33257ece9eec1c890cc04683227678a895f.tar.gz
rtmux-115bb33257ece9eec1c890cc04683227678a895f.tar.bz2
rtmux-115bb33257ece9eec1c890cc04683227678a895f.zip
Ignore default-shell (and use /bin/sh) if it invalid not just if it is
tmux itself, also refuse to set the option to something invalid in the first place. GitHub issue 2120.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tmux.h b/tmux.h
index 786cb0dd..72e0e9b9 100644
--- a/tmux.h
+++ b/tmux.h
@@ -1771,7 +1771,7 @@ extern const char *socket_path;
extern const char *shell_command;
extern int ptm_fd;
extern const char *shell_command;
-int areshell(const char *);
+int checkshell(const char *);
void setblocking(int, int);
const char *find_cwd(void);
const char *find_home(void);