Switch to unified view
a/src/ohsndrcv.cxx | b/src/ohsndrcv.cxx | ||
---|---|---|---|
... |
... |
||
130 | args.push_back("-f"); |
130 | args.push_back("-f"); |
131 | args.push_back(m->dev->m_friendlyname); |
131 | args.push_back(m->dev->m_friendlyname); |
132 | m->sender->startExec(m->makesendercmd, args, false, true); |
132 | m->sender->startExec(m->makesendercmd, args, false, true); |
133 | 133 | ||
134 | string output; |
134 | string output; |
135 | if (!m->sender->getline(output)) {
|
135 | if (m->sender->getline(output) <= 0) {
|
136 | LOGERR("SenderReceiver::start: makesender command failed\n"); |
136 | LOGERR("SenderReceiver::start: makesender command failed\n"); |
137 | m->clear(); |
137 | m->clear(); |
138 | return false; |
138 | return false; |
139 | } |
139 | } |
140 | LOGDEB("SenderReceiver::start got [" << output << "] from script\n"); |
140 | LOGDEB("SenderReceiver::start got [" << output << "] from script\n"); |