diff options
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 5fa2a16..a97340d 100644 --- a/lib/10-core +++ b/lib/10-core @@ -226,7 +226,7 @@ _boxconf_deploy(){ _bc_deploy_target=$1; shift _bc_deploy_hostname=$1; shift - _bc_stagedir=$(mktemp -d -t "boxconf-${_bc_deploy_hostname}") + _bc_stagedir=$(mktemp -d -t "boxconf-${_bc_deploy_hostname}.XXXXXX") trap 'rm -rf -- "$_bc_stagedir"' HUP INT QUIT TERM ABRT EXIT _boxconf_stage "$_bc_deploy_hostname" "$_bc_stagedir" |