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:
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");
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user