Browse Source

Fix nbd module load check

allow-etcd-address-option
Vitaliy Filippov 4 months ago
parent
commit
bf591ba3ee
  1. 2
      src/nbd_proxy.cpp

2
src/nbd_proxy.cpp

@ -269,7 +269,7 @@ public:
void load_module()
{
if (access("/sys/module/nbd", F_OK))
if (access("/sys/module/nbd", F_OK) == 0)
{
return;
}

Loading…
Cancel
Save