aboutsummaryrefslogtreecommitdiff
path: root/server-fn.c
diff options
context:
space:
mode:
Diffstat (limited to 'server-fn.c')
-rw-r--r--server-fn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/server-fn.c b/server-fn.c
index 213d72ea..cfafef21 100644
--- a/server-fn.c
+++ b/server-fn.c
@@ -308,7 +308,7 @@ server_destroy_pane(struct window_pane *wp, int notify)
wp->fd = -1;
}
- if (options_get_number(w->options, "remain-on-exit")) {
+ if (options_get_number(wp->options, "remain-on-exit")) {
if (~wp->flags & PANE_STATUSREADY)
return;