- Timestamp:
- 03/10/13 14:59:23 (12 years ago)
- Location:
- trunk/FACT++
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/Main.h
r14664 r15017 155 155 ostringstream str; 156 156 str << "Exit triggered by EvalOptions with rc=" << rc; 157 io_service.Write(now, str.str(), MessageImp::kError);157 io_service.Write(now, str.str(), rc==0?MessageImp::kInfo:MessageImp::kError); 158 158 return rc; 159 159 } -
trunk/FACT++/src/StateMachineDimControl.cc
r14741 r15017 571 571 572 572 if (conf.Get<bool>("stop")) 573 return Dim::SendCommand("DIM_CONTROL/STOP", fUser) + 1;573 return !Dim::SendCommand("DIM_CONTROL/STOP", fUser); 574 574 575 575 if (conf.Has("start")) 576 return Dim::SendCommand("DIM_CONTROL/START", conf.Get<string>("start")+" user='"+fUser+"'") + 1;576 return !Dim::SendCommand("DIM_CONTROL/START", conf.Get<string>("start")+" user='"+fUser+"'"); 577 577 578 578 if (conf.Has("batch")) 579 return Dim::SendCommand("DIM_CONTROL/EXECUTE", conf.Get<string>("batch")+" user='"+fUser+"'") + 1;579 return !Dim::SendCommand("DIM_CONTROL/EXECUTE", conf.Get<string>("batch")+" user='"+fUser+"'"); 580 580 581 581 if (conf.Has("msg")) 582 return Dim::SendCommand("CHAT/MSG", fUser+": "+conf.Get<string>("msg")) + 1;582 return !Dim::SendCommand("CHAT/MSG", fUser+": "+conf.Get<string>("msg")); 583 583 584 584 return -1; -
trunk/FACT++/www/smartfact/index.php
r15000 r15017 271 271 } 272 272 273 if ($rc !=1 && $rc!=2)273 if ($rc>1) 274 274 return header('HTTP/1.0 500 Execution failed [rc='.$rc."]"); 275 275
Note:
See TracChangeset
for help on using the changeset viewer.