diff options
Diffstat (limited to 'nfcommander.c')
-rw-r--r-- | nfcommander.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/nfcommander.c b/nfcommander.c index 4763b78..0521fc4 100644 --- a/nfcommander.c +++ b/nfcommander.c @@ -69,18 +69,21 @@ int main(int argc, char** argv){ //read configuration if(config_read(argv[1])){ + //TODO cleanup return usage(argv[0]); } //start reader api if(reader_init()){ printf("Failed to start reader\n"); + //TODO cleanup return EXIT_FAILURE; } //start control api if(control_start()){ printf("Failed to start control interface\n"); + //TODO cleanup return EXIT_FAILURE; } |