X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=lttctl%2Fltt-armall.sh;fp=lttctl%2Fltt-armall.sh;h=307f0b13f6084d1112105beea794c51bab874ed7;hb=d7a3410b5ce5a9cf33c488f8602e9976bef90eeb;hp=9eda365490dc5052b6cfc65a766dd0f4ff7e55b1;hpb=fde9c319224e496655850ff59c38b8a8659146ee;p=ltt-control.git diff --git a/lttctl/ltt-armall.sh b/lttctl/ltt-armall.sh index 9eda365..307f0b1 100755 --- a/lttctl/ltt-armall.sh +++ b/lttctl/ltt-armall.sh @@ -62,9 +62,9 @@ if [ ! ${NETWORK} ]; then TESTS="${TESTS} -path '*/net/*_extended' -prune -o" fi -while read -r -d $'\0' marker; do +(eval "find '${MARKERSROOT}' ${TESTS} -name metadata -prune -o -name enable -print0") | while read -r -d $'\0' marker; do if [ ! ${QUIET} ]; then echo "Connecting ${marker%/enable}" fi echo 1 > ${marker} -done < <(eval "find '${MARKERSROOT}' ${TESTS} -name metadata -prune -o -name enable -print0") +done