Added special rule for testing on x86 PCs

This commit is contained in:
Uwe Seimet
2021-08-27 00:14:05 +02:00
parent d908e722d9
commit 497d1edb89

View File

@@ -80,7 +80,11 @@ bool SCSIDaynaPort::Init(const string& interfaces)
m_bTapEnable = m_tap->Init();
if(!m_bTapEnable){
LOGERROR("Unable to open the TAP interface");
// Not terminating on regular Linux PCs is helpful for testing
#if !defined(__x86_64__) && !defined(__X86__)
return false;
#endif
} else {
LOGDEBUG("Tap interface created");
}