@@ -, +, @@ --- bin/dispatch-conf | 2 ++ 1 file changed, 2 insertions(+) --- a/bin/dispatch-conf +++ a/bin/dispatch-conf @@ -577,6 +577,8 @@ def clear_screen(): shell = os.environ.get("SHELL") if not shell or not os.access(shell, os.EX_OK): shell = find_binary("sh") +elif os.path.basename(shell) in ("nologin", "false"): + shell = find_binary("sh") def spawn_shell(cmd): --