summaryrefslogtreecommitdiff
path: root/automated/linux/dd-wr-speed/dd-wr-speed.sh
diff options
context:
space:
mode:
Diffstat (limited to 'automated/linux/dd-wr-speed/dd-wr-speed.sh')
-rwxr-xr-xautomated/linux/dd-wr-speed/dd-wr-speed.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/automated/linux/dd-wr-speed/dd-wr-speed.sh b/automated/linux/dd-wr-speed/dd-wr-speed.sh
index d3e4946..4995f1e 100755
--- a/automated/linux/dd-wr-speed/dd-wr-speed.sh
+++ b/automated/linux/dd-wr-speed/dd-wr-speed.sh
@@ -137,8 +137,7 @@ parse_output() {
# Test run.
! 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}"
info_msg "About to run dd test..."
info_msg "Output directory: ${OUTPUT}"