ovsdb-server: Improve error message when database file argument is missing.
[openvswitch] / tests / test-ovsdb.c
index 4f44afe86979436cf0ccb193e2e2e274eb3aadfb..a4a5f019a76c642cd80b6468730935827a0c3a9b 100644 (file)
@@ -791,7 +791,7 @@ do_query_distinct(int argc UNUSED, char *argv[])
 
     /* Parse column set. */
     json = parse_json(argv[4]);
-    ovsdb_column_set_from_json(json, table, &columns);
+    check_ovsdb_error(ovsdb_column_set_from_json(json, table, &columns));
     json_destroy(json);
 
     /* Parse rows, add to table. */