summaryrefslogtreecommitdiff
path: root/automated/linux/iperf/iperf.sh
diff options
context:
space:
mode:
Diffstat (limited to 'automated/linux/iperf/iperf.sh')
-rwxr-xr-xautomated/linux/iperf/iperf.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/automated/linux/iperf/iperf.sh b/automated/linux/iperf/iperf.sh
index 0dd230f..1abc8e1 100755
--- a/automated/linux/iperf/iperf.sh
+++ b/automated/linux/iperf/iperf.sh
@@ -32,8 +32,7 @@ while getopts "c:t:p:v:s:h" o; do
esac
done
-[ -d "${OUTPUT}" ] && mv "${OUTPUT}" "${OUTPUT}_$(date +%Y%m%d%H%M%S)"
-mkdir -p "${OUTPUT}"
+create_out_dir "${OUTPUT}"
cd "${OUTPUT}"
if [ "${SKIP_INSTALL}" = "true" ] || [ "${SKIP_INSTALL}" = "True" ]; then