From 6f926108367879ac903f55f64fd5f75937bda99e Mon Sep 17 00:00:00 2001 From: David Valin Date: Wed, 31 Jul 2024 10:36:52 -0400 Subject: [PATCH] Remove debug stuff in pbench_copy_data --- pbench_copy_data | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/pbench_copy_data b/pbench_copy_data index ddc0660..373eb5f 100755 --- a/pbench_copy_data +++ b/pbench_copy_data @@ -102,17 +102,17 @@ done controller=${fhost}_${user} if [[ "$controller" == *"--"* ]]; then - echo Error controller $controller contains "--"! >> /tmp/debugging + echo Error controller $controller contains "--"! exit 1 fi if [[ "$user" == *"--"* ]]; then - echo Error user $user contains "--"! >> /tmp/debugging + echo Error user $user contains "--"! exit 1 fi if [[ "$results_prefix" == *"--"* ]]; then - echo Error results_prefix $results_prefix contains "--"! >> /tmp/debugging + echo Error results_prefix $results_prefix contains "--"! exit 1 fi @@ -122,10 +122,8 @@ fi controller_name=`echo ${controller} | sed "s/_/-/g"` if [ $copy -eq 0 ]; then - echo pbench-move-results --controller="\"${controller_name}\"" --user="\"${user}\"" --prefix="\"${results_prefix}\"" >> /tmp/debugging pbench-move-results --controller="${controller_name}" --user="${user}" --prefix="${results_prefix}" else - echo pbench-copy-results --controller="\"${controller_name}\"" --user="\"${user}\"" --prefix="\"${results_prefix}\"" >> /tmp/debugging pbench-copy-results --controller="${controller_name}" --user="${user}" --prefix="${results_prefix}" fi exit $?