summaryrefslogtreecommitdiff
path: root/automated/linux/device-read-perf/device-read-perf.sh
diff options
context:
space:
mode:
Diffstat (limited to 'automated/linux/device-read-perf/device-read-perf.sh')
-rwxr-xr-xautomated/linux/device-read-perf/device-read-perf.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/automated/linux/device-read-perf/device-read-perf.sh b/automated/linux/device-read-perf/device-read-perf.sh
index dd00a2d..17b072f 100755
--- a/automated/linux/device-read-perf/device-read-perf.sh
+++ b/automated/linux/device-read-perf/device-read-perf.sh
@@ -19,8 +19,7 @@ while getopts "d:s:" 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}"
install_deps "hdparm" "${SKIP_INSTALL}"