Action completed but not replected in analysis

Is there a way to check in bigfix if indeed the action was executed successfully?

Here’s my scenario:

I created action script to change a value in a text file using sed command in linux.

if (name of operating system as lowercase starts with “linux”)

wait bash -c “sed -i ‘s/enabled=1/enabled=0/’ /etc/yum/pluginconf.d/ibm-repository.conf”

else “False”

endif

Also created analysis,

lines whose (it contains “enabled”) of file “/etc/yum/pluginconf.d/ibm-repository.conf”

Base from the result, action was completed to 6 target machines. But the changes were not reflected to analysis result. It should reflect enabled=0, but the result still 1.

Example result:

PHPB00WA2M enabled=1
PHPB00WA2S enabled=1
PHPB00WA2W enabled=1
PHPB00WA2X enabled=1
PHPB00WA2Y enabled=1
PHPB00WA2Z enabled=1

Did you check the result on an endpoint to see whether the file was actually updated? The script doesn’t look correct - you need {} surrounding the relevance substitution -

if {name of operating system as lowercase starts with "linux"}

You also don’t need an “else” in that case, just if {} endif

Thanks for the correction! will try that.