From 156ef81e88507dc2299a061a298217573c28f08b Mon Sep 17 00:00:00 2001 From: Jan-Piet Mens Date: Thu, 20 Aug 2015 20:36:07 +0200 Subject: [PATCH] Exit after --list --- ocat.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ocat.c b/ocat.c index e0df280..999c10c 100644 --- a/ocat.c +++ b/ocat.c @@ -95,6 +95,8 @@ int main(int argc, char **argv) printf("%s\n", js); json_delete(json); free(js); + + return (0); } if (argc == 0 && !username && !device) {