File tree Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -548,17 +548,6 @@ cs_falcon_oauth_token=$(
548548 echo " $token "
549549)
550550
551- cs_falcon_cid=$(
552- if [ -n " $FALCON_CID " ]; then
553- echo " $FALCON_CID "
554- else
555- cs_target_cid=$( curl -s -L " https://$( cs_cloud) /sensors/queries/installers/ccid/v1" \
556- -H " authorization: Bearer $cs_falcon_oauth_token " )
557-
558- echo " $cs_target_cid " | tr -d ' \n" ' | awk -F' [][]' ' {print $2}'
559- fi
560- )
561-
562551region_hint=$( grep -i ^x-cs-region: " $response_headers " | head -n 1 | tr ' [:upper:]' ' [:lower:]' | tr -d ' \r' | sed ' s/^x-cs-region: //g' )
563552rm " ${response_headers} "
564553
@@ -573,4 +562,15 @@ else
573562 fi
574563fi
575564
565+ cs_falcon_cid=$(
566+ if [ -n " $FALCON_CID " ]; then
567+ echo " $FALCON_CID "
568+ else
569+ cs_target_cid=$( curl -s -L " https://$( cs_cloud) /sensors/queries/installers/ccid/v1" \
570+ -H " authorization: Bearer $cs_falcon_oauth_token " )
571+
572+ echo " $cs_target_cid " | tr -d ' \n" ' | awk -F' [][]' ' {print $2}'
573+ fi
574+ )
575+
576576main " $@ "
You can’t perform that action at this time.
0 commit comments