diff options
author | nicm <nicm> | 2017-01-24 19:53:37 +0000 |
---|---|---|
committer | nicm <nicm> | 2017-01-24 19:53:37 +0000 |
commit | 85338bb75fa4fbabfdbefeb995bdea04efaf2db4 (patch) | |
tree | b5780e6de5d37e5243684dc94fcf4394e81e6683 /pty.c | |
parent | 61fce272ea60f5096711ee554c56aef9cca8c654 (diff) | |
download | rtmux-85338bb75fa4fbabfdbefeb995bdea04efaf2db4.tar.gz rtmux-85338bb75fa4fbabfdbefeb995bdea04efaf2db4.tar.bz2 rtmux-85338bb75fa4fbabfdbefeb995bdea04efaf2db4.zip |
Add support for custom command aliases, this is an array option which
contains items of the form "alias=command". This is consulted when an
unknown command is parsed.
Diffstat (limited to 'pty.c')
-rw-r--r-- | pty.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -45,7 +45,7 @@ pty_fork(int ptmfd, int *fd, char *name, size_t namelen, struct winsize *ws) struct ptmget ptm; pid_t pid; - if ((ioctl(ptmfd, PTMGET, &ptm) == -1)) + if (ioctl(ptmfd, PTMGET, &ptm) == -1) return (-1); strlcpy(name, ptm.sn, namelen); |