--- ray/src/rt/RcontribSimulManager.cpp 2025/01/02 16:16:49 2.11 +++ ray/src/rt/RcontribSimulManager.cpp 2025/10/16 18:36:23 2.12 @@ -1,5 +1,5 @@ #ifndef lint -static const char RCSid[] = "$Id: RcontribSimulManager.cpp,v 2.11 2025/01/02 16:16:49 greg Exp $"; +static const char RCSid[] = "$Id: RcontribSimulManager.cpp,v 2.12 2025/10/16 18:36:23 greg Exp $"; #endif /* * RcontribSimulManager.cpp @@ -213,6 +213,10 @@ RcontribSimulManager::AddModifier(const char *modn, co { if (!modn | !outspec || !*modn | !*outspec) { error(WARNING, "ignoring bad call to AddModifier()"); + return false; + } + if (*outspec == '!') { + error(USER, "command output not supported by RcontribSimulManager"); return false; } if (!nChan) { // initial call?