diff options
Diffstat (limited to 'tests/newscn.c')
| -rw-r--r-- | tests/newscn.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/newscn.c b/tests/newscn.c index 466f2f68..de8951df 100644 --- a/tests/newscn.c +++ b/tests/newscn.c @@ -46,7 +46,6 @@ main (void) fprintf (stderr, "Failed to open fdput file: %s\n", name); exit (1); } - unlink (name); elf = elf_begin (fd, ELF_C_WRITE, NULL); if (elf == NULL) @@ -62,5 +61,7 @@ main (void) elf_end (elf); close (fd); + unlink (name); + return 0; } |
