Skip to content

Commit 41e1288

Browse files
committed
treat file as text even when recognized as binary (because of spurious symbols)
1 parent aa39901 commit 41e1288

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Utilities/General/ibeos/das_client

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ if [ "${FORMAT}" = "json" ] ; then
6666
fi
6767
else
6868
QUERY_RESULTS=$((curl -f -L -s "${QUERY_URL}" || true) | grep /store/ | sed 's| ||g;s|"||g;s|,||g')
69-
[ $((get_parent_cmds $$ 0 2>&1 || true) | grep '/cmsDriver.py' | wc -l) -gt 0 ] && LIMIT_RESULTS="YES"
69+
[ $((get_parent_cmds $$ 0 2>&1 || true) | grep -a '/cmsDriver.py' | wc -l) -gt 0 ] && LIMIT_RESULTS="YES"
7070
if [ "${QUERY_RESULTS}" = "" ] ; then
7171
${ORIG_DAS_CLIENT} "$@" > ${DAS_QUERY_DIR}/${QUERY_SHA_HASH}.out
7272
else

0 commit comments

Comments
 (0)