src/nnn.c | 2 +- diff --git a/src/nnn.c b/src/nnn.c index ebd2985a8c35ec0a256d203eccc0dd84a850169f..6e5b280d0161bc7208f4fd7869f8b16256881338 100644 --- a/src/nnn.c +++ b/src/nnn.c @@ -7219,7 +7219,7 @@ if (r == 's') { tmp = xreadline(NULL, messages[MSG_SSN_NAME]); if (tmp && *tmp) - save_session(FALSE, &presel); + save_session(tmp, &presel); } else if (r == 'l' || r == 'r') { if (load_session(NULL, &path, &lastdir, &lastname, r == 'r')) { setdirwatch();