Lines 577-582
def clear_screen():
Link Here
|
577 |
shell = os.environ.get("SHELL") |
577 |
shell = os.environ.get("SHELL") |
578 |
if not shell or not os.access(shell, os.EX_OK): |
578 |
if not shell or not os.access(shell, os.EX_OK): |
579 |
shell = find_binary("sh") |
579 |
shell = find_binary("sh") |
|
|
580 |
else: |
581 |
shell_basename = os.path.basename(shell) |
582 |
if shell_basename == "nologin" or shell_basename == "false": |
583 |
shell = find_binary("sh") |
580 |
|
584 |
|
581 |
|
585 |
|
582 |
def spawn_shell(cmd): |
586 |
def spawn_shell(cmd): |
583 |
- |
|
|