summaryrefslogtreecommitdiff
path: root/automated/linux/blogbench/blogbench.sh
diff options
context:
space:
mode:
Diffstat (limited to 'automated/linux/blogbench/blogbench.sh')
-rwxr-xr-xautomated/linux/blogbench/blogbench.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/automated/linux/blogbench/blogbench.sh b/automated/linux/blogbench/blogbench.sh
index b07d9f9..a09e750 100755
--- a/automated/linux/blogbench/blogbench.sh
+++ b/automated/linux/blogbench/blogbench.sh
@@ -21,8 +21,7 @@ while getopts "i:p: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}"
# Set the directory for blogbench test.
if [ -n "${PARTITION}" ]; then