From 010a4bc91e745ef34175b521830f9c2b644cb0e6 Mon Sep 17 00:00:00 2001 From: Cullum Smith Date: Thu, 11 Jul 2024 21:25:13 -0400 Subject: make boxconf command line more intuitive, fix undef vars --- lib/10-core | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/10-core') diff --git a/lib/10-core b/lib/10-core index 8e01afc..d7280d9 100644 --- a/lib/10-core +++ b/lib/10-core @@ -221,7 +221,7 @@ _boxconf_deploy(){ # $2 = hostname used for configuration # $3..$N = original boxconf CLI args _bc_deploy_target=$1; shift - _bc_deploy_hostname=$2; shift + _bc_deploy_hostname=$1; shift _bc_stagedir=$(mktemp -d -t "boxconf-${_bc_deploy_hostname}") trap 'rm -rf -- "$_bc_stagedir"' HUP INT QUIT TERM ABRT EXIT -- cgit v1.2.3