diff options
author | 2009-06-25 06:40:25 +0000 | |
---|---|---|
committer | 2009-06-25 06:40:25 +0000 | |
commit | b28b8577678b2f74bd1d5426ebb883e93fb736db (patch) | |
tree | 0cba7643dbda2d4c7a1f83e7eec05a756e2dd202 /usr.bin/tmux/tmux.c | |
parent | tmux doesn't and won't need syslog logging, so remove it and some other unused (diff) | |
download | wireguard-openbsd-b28b8577678b2f74bd1d5426ebb883e93fb736db.tar.xz wireguard-openbsd-b28b8577678b2f74bd1d5426ebb883e93fb736db.zip |
Remove error about using -L and -S together which was never displayed as
logging wasn't yet enabled, was unnecessary, and contradicted the man page
which says using -S will cause -L to be ignored.
Diffstat (limited to 'usr.bin/tmux/tmux.c')
-rw-r--r-- | usr.bin/tmux/tmux.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/usr.bin/tmux/tmux.c b/usr.bin/tmux/tmux.c index 671b6999c91..b2466d034f8 100644 --- a/usr.bin/tmux/tmux.c +++ b/usr.bin/tmux/tmux.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tmux.c,v 1.9 2009/06/23 18:27:40 nicm Exp $ */ +/* $OpenBSD: tmux.c,v 1.10 2009/06/25 06:40:25 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -233,19 +233,11 @@ main(int argc, char **argv) cfg_file = xstrdup(optarg); break; case 'L': - if (path != NULL) { - log_warnx("-L and -S cannot be used together"); - exit(1); - } if (label != NULL) xfree(label); label = xstrdup(optarg); break; case 'S': - if (label != NULL) { - log_warnx("-L and -S cannot be used together"); - exit(1); - } if (path != NULL) xfree(path); path = xstrdup(optarg); |