diff options
Diffstat (limited to 'automated/linux/docker/docker.sh')
-rwxr-xr-x | automated/linux/docker/docker.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/automated/linux/docker/docker.sh b/automated/linux/docker/docker.sh index bebf482..e656bb0 100755 --- a/automated/linux/docker/docker.sh +++ b/automated/linux/docker/docker.sh @@ -20,8 +20,7 @@ while getopts "i:h" o; do done ! check_root && error_msg "You need to be root to run this script." -[ -d "${OUTPUT}" ] && mv "${OUTPUT}" "${OUTPUT}_$(date +%Y%m%d%H%M%S)" -mkdir -p "${OUTPUT}" +create_out_dir "${OUTPUT}" dist_name # shellcheck disable=SC2154 |