diff options
author | Michael Adam <obnox@samba.org> | 2012-08-08 12:07:29 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2012-08-09 15:27:15 +0200 |
commit | ccb25831e21fef606683abc5d62581272ac8ffa4 (patch) | |
tree | cf97c35e66c604aab19cfed95e39227733673a1d | |
parent | 8a92ae23fe64639c7a19faaacf585f266622c863 (diff) | |
download | samba-ccb25831e21fef606683abc5d62581272ac8ffa4.tar.gz samba-ccb25831e21fef606683abc5d62581272ac8ffa4.tar.bz2 samba-ccb25831e21fef606683abc5d62581272ac8ffa4.zip |
s3:torture:delete: untanlge function call from result check
-rw-r--r-- | source3/torture/torture.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/torture/torture.c b/source3/torture/torture.c index 69287459c6..1ba915a853 100644 --- a/source3/torture/torture.c +++ b/source3/torture/torture.c @@ -4215,7 +4215,8 @@ static bool run_deletetest(int dummy) goto fail; } - if (!NT_STATUS_IS_OK(cli_nt_delete_on_close(cli1, fnum1, true))) { + status = cli_nt_delete_on_close(cli1, fnum1, true); + if (!NT_STATUS_IS_OK(status)) { printf("[8] setting delete_on_close on file failed !\n"); correct = False; goto fail; |