Fix nbd module load check

allow-etcd-address-option
Vitaliy Filippov 2021-05-15 19:21:01 +03:00
parent 699a0fbbc7
commit bf591ba3ee
1 changed files with 1 additions and 1 deletions

View File

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