diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/storage/test_parser2.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/storage/test_parser2.cpp b/tests/storage/test_parser2.cpp index 046c523..5ea3fb8 100644 --- a/tests/storage/test_parser2.cpp +++ b/tests/storage/test_parser2.cpp @@ -66,7 +66,7 @@ int main(int argc, char * argv[]) { g_option_context_add_main_entries(context, entries, NULL); if (!g_option_context_parse(context, &argc, &argv, &error)) { g_print("option parsing failed:%s\n", error->message); - exit(1); + exit(EINVAL); } if (incomplete) |