Commit 97140d85 authored by Laurent Bachelier's avatar Laurent Bachelier

Return 1 on error, not 0

parent ee0774ef
......@@ -106,6 +106,6 @@ class Command(ConsolePart):
if self.WORKDIR and not
print >>sys.stderr, 'Error: Not a ass2m working directory.'
print >>sys.stderr, 'Please use "%s init"' % sys.argv[0]
return 0
return 1
return self.cmd(args)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment