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