Skip to content

Commit

Permalink
Failing commands in 'fab shell' should not kill the session.
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisvest committed Sep 15, 2008
1 parent 78c7bb7 commit 440a63f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fabric.py
Expand Up @@ -853,9 +853,9 @@ def lines():
if line == 'exit':
break
elif line.startswith('sudo '):
sudo(line[5:])
sudo(line[5:], fail='warn')
else:
run(line)
run(line, fail='warn')

#
# Standard strategies:
Expand Down

0 comments on commit 440a63f

Please sign in to comment.