13:31:42 liuyq:lava-master-image-scripts$ bash -version
GNU bash, version 4.2.24(1)-release (x86_64-pc-linux-gnu)
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
13:33:01 liuyq:lava-master-image-scripts$
Seems the need to set the "-" arg for trap on EXIT
my bash version.
13:31:42 liuyq:lava- master- image-scripts$ bash -version pc-linux- gnu) gnu.org/ licenses/ gpl.html>
GNU bash, version 4.2.24(1)-release (x86_64-
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://
This is free software; you are free to change and redistribute it. master- image-scripts$
There is NO WARRANTY, to the extent permitted by law.
13:33:01 liuyq:lava-
Seems the need to set the "-" arg for trap on EXIT