From 907bd31236a1b9ce11702cbd1ec792a07d74ab60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucio=20Andr=C3=A9s=20Illanes=20Albornoz?= Date: Mon, 30 Apr 2018 11:26:08 +0200 Subject: Correctly (zero-)initialise all locals. --- subr/ex_pkg_exec.subr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'subr/ex_pkg_exec.subr') diff --git a/subr/ex_pkg_exec.subr b/subr/ex_pkg_exec.subr index 76294763..7092dad3 100644 --- a/subr/ex_pkg_exec.subr +++ b/subr/ex_pkg_exec.subr @@ -23,7 +23,7 @@ exp_pkg_exec_pre() { ex_pkg_exec() { local _pkg_name="${1}" _tgt_name="${2}" _restart_at="${3}" \ - _step _step_cmd _step_cmd_pfx _step_rc; + _step="" _step_cmd="" _step_cmd_pfx="" _step_rc=""; trap "if [ \${?} -eq 0 ]; then \ echo \"done ${_pkg_name} ${_tgt_name}\" >&3; \ else \ -- cgit v1.2.3