diff options
Diffstat (limited to 'source3/torture/locktest2.c')
-rw-r--r-- | source3/torture/locktest2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/torture/locktest2.c b/source3/torture/locktest2.c index 9cb531450c..93adcb51a6 100644 --- a/source3/torture/locktest2.c +++ b/source3/torture/locktest2.c @@ -94,7 +94,7 @@ static bool try_close(struct cli_state *c, int fstype, int fd) { switch (fstype) { case FSTYPE_SMB: - return cli_close(c, fd); + return NT_STATUS_IS_OK(cli_close(c, fd)); case FSTYPE_NFS: return close(fd) == 0; |