1 Reply Latest reply on Mar 25, 2014 3:14 AM by wdfink

    CLI ignore failures

    hr.stoyanov

      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.