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 |
elif os.path.basename(shell) in ("nologin", "false"): |
581 |
shell = find_binary("sh") |
580 |
|
582 |
|
581 |
|
583 |
|
582 |
def spawn_shell(cmd): |
584 |
def spawn_shell(cmd): |
583 |
- |
|
|