summaryrefslogtreecommitdiff
path: root/automated/linux/nginx-apache-bench/apache-bench.sh
diff options
context:
space:
mode:
Diffstat (limited to 'automated/linux/nginx-apache-bench/apache-bench.sh')
-rwxr-xr-xautomated/linux/nginx-apache-bench/apache-bench.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/automated/linux/nginx-apache-bench/apache-bench.sh b/automated/linux/nginx-apache-bench/apache-bench.sh
index 88752e6..3bdccfc 100755
--- a/automated/linux/nginx-apache-bench/apache-bench.sh
+++ b/automated/linux/nginx-apache-bench/apache-bench.sh
@@ -24,8 +24,7 @@ while getopts "s:n:c:" o; do
done
! check_root && error_msg "This script must be run as root"
-[ -d "${OUTPUT}" ] && mv "${OUTPUT}" "${OUTPUT}_$(date +%Y%m%d%H%M%S)"
-mkdir -p "${OUTPUT}"
+create_out_dir "${OUTPUT}"
dist_name
# Install and configure LEMP.