summaryrefslogtreecommitdiffstats
path: root/session.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2017-02-03 22:01:18 +0000
committerThomas Adam <thomas@xteddy.org>2017-02-03 22:01:18 +0000
commite1c283325ecf6496f2107efc5c8d32257017558c (patch)
treef7bf71b1bd97b81f82c611aae5567310a9d28327 /session.c
parent6c333cc4864c11283704b069fa6477876fd48f70 (diff)
parent5e6a8177e55a8e30e0cd67c7ee3039aa22ff1c0e (diff)
Merge branch 'obsd-master'
Diffstat (limited to 'session.c')
-rw-r--r--session.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/session.c b/session.c
index d89bc6a0..e2ff65b1 100644
--- a/session.c
+++ b/session.c
@@ -130,6 +130,8 @@ session_create(const char *name, int argc, char **argv, const char *path,
s->options = options_create(global_s_options);
s->hooks = hooks_create(global_hooks);
+ status_update_saved(s);
+
s->tio = NULL;
if (tio != NULL) {
s->tio = xmalloc(sizeof *s->tio);