commit | dd39fc36f7eb4ae3d3281e24cec8f67fdd5c8242 | [log] [tgz] |
---|---|---|
author | Jenkins <jenkins@review.openstack.org> | Fri Aug 01 16:47:35 2014 +0000 |
committer | Gerrit Code Review <review@openstack.org> | Fri Aug 01 16:47:35 2014 +0000 |
tree | 7f0922b1196b0701c9603e82f2119178eb88eb50 | |
parent | 307cfcb9d11945b5f89f249d8779e51c87f1bc34 [diff] | |
parent | 5fb83a0a33f8c30c83484b06d2e4d9d633c255cd [diff] |
Merge "XenAPI: Fix declare definition"
diff --git a/tools/xen/scripts/on_exit.sh b/tools/xen/scripts/on_exit.sh index 2441e3d..2846dc4 100755 --- a/tools/xen/scripts/on_exit.sh +++ b/tools/xen/scripts/on_exit.sh
@@ -3,7 +3,9 @@ set -e set -o xtrace -declare -a on_exit_hooks +if [ -z "${on_exit_hooks:-}" ]; then + on_exit_hooks=() +fi on_exit() {