fix exit code

This commit is contained in:
Mark Harrah 2011-03-19 14:07:03 -04:00
parent 3821239b43
commit 4ce57596d9
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ object State
def continue = setNext(Next.Continue)
def reboot(full: Boolean) = throw new xsbti.FullReload(s.commands.toArray, full)
def reload = setNext(Next.Reload)
def exit(ok: Boolean) = setNext(if(ok) Next.Fail else Next.Done)
def exit(ok: Boolean) = setNext(if(ok) Next.Done else Next.Fail)
def get[T](key: AttributeKey[T]) = s.attributes.get(key)
def put[T](key: AttributeKey[T], value: T) = s.copy(attributes = s.attributes.put(key, value))
def fail =