diff options
author | Cullum Smith <cullum@sacredheartsc.com> | 2024-07-11 21:25:13 -0400 |
---|---|---|
committer | Cullum Smith <cullum@sacredheartsc.com> | 2024-07-11 21:25:13 -0400 |
commit | 010a4bc91e745ef34175b521830f9c2b644cb0e6 (patch) | |
tree | 942b639b1a86e73679fcff312e3bf1562512ff14 /lib/10-core | |
parent | 23447b9622b3e39fce4737aa913f830710618adf (diff) | |
download | infrastructure-010a4bc91e745ef34175b521830f9c2b644cb0e6.tar.gz |
make boxconf command line more intuitive, fix undef vars
Diffstat (limited to 'lib/10-core')
-rw-r--r-- | lib/10-core | 2 |
1 files changed, 1 insertions, 1 deletions
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 |