mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-22 19:32:19 +00:00
sanlock: Fix condition left crippled while debugging
This commit is contained in:
parent
1e0534a770
commit
3bf5f0427a
@ -702,7 +702,7 @@ static int virLockManagerSanlockAcquire(virLockManagerPtr lock,
|
||||
goto error;
|
||||
}
|
||||
|
||||
if (state && STRNEQ(state, "") && 0) {
|
||||
if (state && STRNEQ(state, "")) {
|
||||
if ((rv = sanlock_state_to_args((char *)state,
|
||||
&res_count,
|
||||
&res_args)) < 0) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user