On 02/27/2013 03:22 PM, Chet Ramey wrote:
> I don't know what version you're using; I have 0.11.
>
> $ ./posh
> \[\]${HOST}($SHLVL)\$ exit 1
> ./posh: exit: bad number
>
> $ ./posh
> \[\]${HOST}($SHLVL)\$ exit 10
> ./posh: exit: bad number
> $ echo $?
> 1I tested with posh 0.10.2; looks like this is an upstream regression in behavior (although you'd have to ask posh developers whether the regression is intentional): $ posh -c 'exit 10'; echo $? 10 -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
