On Dec 13, 2012, at 4:45 PM, Ben Pfaff <[email protected]> wrote:
> When I wrote the "trap" calls in ovs-ctl, I had the mistaken notion that
> "trap $cmd $signal" would execute $cmd and then exit when $signal was
> caught.  This is incorrect.  Instead, it executes $cmd and then resumes
> executing the shell script.
> 
> On tho other hand, "trap $cmd 0" does by itself what I wanted: it causes
> the shell to execute $cmd and then exits due to the signal.  So this commit
> changes the offending traps to use this form.
> 
> Bug #14290.
> Signed-off-by: Ben Pfaff <[email protected]>


Acked-by: Kyle Mestery <[email protected]>
_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev

Reply via email to