ktrace / pxmx-ctld

ProxMox plugin for FreeBSD/ctld iSCSI target as backend
MIT License
2 stars 1 forks source link

Bug: candidate is always not set in CTLD.pm #4

Closed IronDusts closed 9 months ago

IronDusts commented 9 months ago

At line 350 of CTLD.pm $candidate is always reported as empty variable and the script is failing because you are using "==" instead of "eq" for checking of the variable is set/empty.

I have fixed it for me but cannot commit my changes in your repo. Suggest if you still work on this project to fix it.

The Patch files also needs refreshment, but I don't have the time to create one so I just patched manually.

ktrace commented 9 months ago

L350 fixed, patch files refresh later https://github.com/ktrace/pxmx-ctld/commit/f7966c60cf991e2d95626b7fe62f2402fa73bcda