Skip to content

Commit

Permalink
Rtl433: fix regression on restarting failed subprocess
Browse files Browse the repository at this point in the history
  • Loading branch information
Petri Ahonen committed Jun 24, 2017
1 parent 16e8d34 commit 3104009
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion hardware/Rtl433.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,9 @@ void CRtl433::Do_Work()
{
_log.Log(LOG_STATUS, "Rtl433: Unhandled sensor type, please report: (%s)", line);
}
} //fgets
} else { //fgets
break; // bail out, subprocess has failed
}
} // while !m_stoprequested
if (m_hPipe)
{
Expand Down

0 comments on commit 3104009

Please sign in to comment.