=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/options.c,v retrieving revision 1.47 retrieving revision 1.48 diff -c -r1.47 -r1.48 *** src/usr.bin/tmux/options.c 2019/05/30 20:54:03 1.47 --- src/usr.bin/tmux/options.c 2019/06/08 21:48:29 1.48 *************** *** 1,4 **** ! /* $OpenBSD: options.c,v 1.47 2019/05/30 20:54:03 nicm Exp $ */ /* * Copyright (c) 2008 Nicholas Marriott --- 1,4 ---- ! /* $OpenBSD: options.c,v 1.48 2019/06/08 21:48:29 nicm Exp $ */ /* * Copyright (c) 2008 Nicholas Marriott *************** *** 361,367 **** return (-1); } ! if (OPTIONS_IS_COMMAND(o)) { pr = cmd_parse_from_string(value, NULL); switch (pr->status) { case CMD_PARSE_EMPTY: --- 361,367 ---- return (-1); } ! if (OPTIONS_IS_COMMAND(o) && value != NULL) { pr = cmd_parse_from_string(value, NULL); switch (pr->status) { case CMD_PARSE_EMPTY: