summaryrefslogtreecommitdiff
path: root/testcode/testbound.c
diff options
context:
space:
mode:
Diffstat (limited to 'testcode/testbound.c')
-rw-r--r--testcode/testbound.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/testcode/testbound.c b/testcode/testbound.c
index 071ac9c2a5b44..cea74c593540c 100644
--- a/testcode/testbound.c
+++ b/testcode/testbound.c
@@ -429,14 +429,14 @@ main(int argc, char* argv[])
case 'h':
default:
testbound_usage();
- return 1;
+ exit(1);
}
}
argc -= optind;
- argv += optind;
+ /* argv += optind; not using further arguments */
if(argc != 0) {
testbound_usage();
- return 1;
+ exit(1);
}
log_info("Start of %s testbound program.", PACKAGE_STRING);
if(atexit(&remove_configfile) != 0)