fixed: print the off command at start first

This commit is contained in:
Bob 2014-08-03 19:34:06 +02:00
parent 3caab43192
commit aab12e0ed0

View file

@ -129,7 +129,10 @@ bool CAmpSwitch::Setup()
void CAmpSwitch::Process()
{
if (m_offcommand)
{
printf("switching off, executing \"%s\"\n", m_offcommand);
system(m_offcommand);
}
while (!g_stop)
{