summaryrefslogtreecommitdiff
path: root/automated/linux/pi-stress/pi-stress.sh
diff options
context:
space:
mode:
Diffstat (limited to 'automated/linux/pi-stress/pi-stress.sh')
-rwxr-xr-xautomated/linux/pi-stress/pi-stress.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/automated/linux/pi-stress/pi-stress.sh b/automated/linux/pi-stress/pi-stress.sh
index ed99e7c..390ffdc 100755
--- a/automated/linux/pi-stress/pi-stress.sh
+++ b/automated/linux/pi-stress/pi-stress.sh
@@ -29,8 +29,7 @@ while getopts ":d:m:r:" opt; do
done
! check_root && error_msg "Please run this script as root."
-[ -d "${OUTPUT}" ] && mv "${OUTPUT}" "${OUTPUT}_$(date +%Y%m%d%H%M%S)"
-mkdir -p "${OUTPUT}"
+create_out_dir "${OUTPUT}"
if "${MLOCKALL}"; then
MLOCKALL="--mlockall"