On 04/08/2013 09:12 PM, Dan Kegel wrote:
> Yes, my script was crap, I've fixed it.
> 
> Here's the reproducer.  Called with foo unset.  I think it doesn't
> crash without -x.
> 
> #!/bin/dash
> set -x
> test ! $foo

The 'set -x' was indeed the key to reproducing the problem.  In fact,
this is the shortest I could make it:

dash -cx 'test !'

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to