Exit after --list

This commit is contained in:
Jan-Piet Mens 2015-08-20 20:36:07 +02:00
parent 66b33a072c
commit 156ef81e88

2
ocat.c
View File

@ -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) {