From 0937a92cd19a2e0e8aef8df71096df8cbcfd46ee Mon Sep 17 00:00:00 2001 From: Steven Hilder Date: Thu, 23 Apr 2015 21:32:14 +0000 Subject: [PATCH] Fix --csv flag in osqueryi shell --- osquery/devtools/shell.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osquery/devtools/shell.cpp b/osquery/devtools/shell.cpp index 5a026d42..07e51bf5 100644 --- a/osquery/devtools/shell.cpp +++ b/osquery/devtools/shell.cpp @@ -2133,7 +2133,7 @@ int launchIntoShell(int argc, char **argv) { } else if (FLAGS_column) { data.mode = MODE_Column; } else if (FLAGS_csv) { - data.mode = FLAGS_csv; + data.mode = MODE_Csv; memcpy(data.separator, ",", 2); } else { data.mode = MODE_Pretty;