[gestion/chsh.py] On affiche un shell par ligne plutôt que tout leur path contaténé ensemble.
This commit is contained in:
parent
85a0a08a3d
commit
b6ab73498a
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ shells = [line.strip() for line in lines if not (line.startswith('#') or line.en
|
||||||
|
|
||||||
if not shell in shells:
|
if not shell in shells:
|
||||||
print 'Shell invalide. Les shells valides sont :'
|
print 'Shell invalide. Les shells valides sont :'
|
||||||
print ''.join(shells)
|
print '\n'.join(shells)
|
||||||
sys.exit(4)
|
sys.exit(4)
|
||||||
|
|
||||||
adh.chsh(shell)
|
adh.chsh(shell)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue