Return code of icegridadmin

borax00borax00 Alex BrooksOrganization: Marathon RoboticsProject: www.marathon-robotics.comMember ✭✭
Hi,

It seems to me that the following:

[[email protected] systemadminmon]$ icegridadmin --Ice.Config=$HOME/.orcarc -u no-user -p no-pass -e "application add /home/users/a.brooks/bruce2/src/components/roverapp/test/testsystem.xml"
error: DescriptorParser.cpp:780: IceXML::ParserException
error in </home/users/a.brooks/bruce2/src/components/roverapp/test/testsystem.xml> descriptor, line 2, column 4:
no default templates configured, you need to set IceGrid.Registry.DefaultTemplates in the IceGrid registry configuration.
[[email protected] systemadminmon]$ echo $?
0

should return a non-zero error code.

Is this a bug?



Thanks,

Alex

Comments

  • benoitbenoit Rennes, FranceBenoit FoucherOrganization: ZeroC, Inc.Project: IceAdministrators, ZeroC Staff ZeroC Staff
    Hi,

    Yes, it's a bug :(

    To fix this problem, replace line 158 from src/IceGrid/Client.cpp with:
       status = run(argc, argv);
    

    Thanks for pointing this out, it will be fixed in the next release!

    Cheers,
    Benoit.
Sign In or Register to comment.