On Fri, Dec 14, 2012 at 12:37:50AM -0800, Justin Pettit wrote: > On Dec 13, 2012, at 2:45 PM, Ben Pfaff <b...@nicira.com> wrote: > > > On tho other hand, "trap $cmd 0" does by itself what I wanted: it causes > > s/tho/the/
Thanks. > > - trap 'rm -f "${script_interfaces}" "${script_flows}" ' 0 1 2 13 15 > > + trap 'rm -f "${script_interfaces}" "${script_flows}" ' 0 > > I'm by no means an expert, but would "EXIT" instead of "0" be the more > common convention in bash? Reading the man page, they have the same > affect, tho. EXIT is more readable, but I think it was invented by POSIX and is therefore less portable than 0. _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev