diff --git a/src/libtomahawk/resolvers/scriptresolver.cpp b/src/libtomahawk/resolvers/scriptresolver.cpp index 75c18aacd..b4e886eb4 100644 --- a/src/libtomahawk/resolvers/scriptresolver.cpp +++ b/src/libtomahawk/resolvers/scriptresolver.cpp @@ -308,7 +308,7 @@ ScriptResolver::cmdExited( int code, QProcess::ExitStatus status ) return; } - if ( m_num_restarts < 0 ) + if ( m_num_restarts < 10 ) { m_num_restarts++; tLog() << "*** Restart num" << m_num_restarts;