What is teh recommended way to ignore failed CLI commands ina script?
I have tried stuff like this:
try
module remove --name=org.postgresql
finally
end-try
but I still can not ignore the failure and the script stopps with:
Failed to locate module org.postgresql at /home/hristo/java/wildfly-8.0.0.Final/modules/org/postgresql/main
Thanks.
You might create a condition with if to check whether the module is present