1
0
mirror of https://github.com/akuker/RASCSI.git synced 2025-04-30 14:38:33 +00:00

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

@ -80,8 +80,12 @@ 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;
}else {
#endif
} else {
LOGDEBUG("Tap interface created");
}