summaryrefslogtreecommitdiff
path: root/source3/tests/ftruncate.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/tests/ftruncate.c')
-rw-r--r--source3/tests/ftruncate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/tests/ftruncate.c b/source3/tests/ftruncate.c
index 700d5c8ce5..93282782ee 100644
--- a/source3/tests/ftruncate.c
+++ b/source3/tests/ftruncate.c
@@ -21,7 +21,7 @@ main()
unlink(DATA);
if (lseek(fd, 0, SEEK_END) == LEN) {
- return 0;
+ exit(0);
}
- return 1;
+ exit(1);
}