From 606368a39341f014b24b75a5cc2400f821aa3c71 Mon Sep 17 00:00:00 2001 From: Joshua Peraza Date: Mon, 13 Aug 2018 15:10:45 -0700 Subject: [PATCH] linux: Use correct handler argument for client FDs This worked before because getopt also accepts prefixes of known options. Change-Id: I0a479ad17954c541e84dc77230abcff19e8fae72 Reviewed-on: https://chromium-review.googlesource.com/1173439 Reviewed-by: Mark Mentovai Commit-Queue: Joshua Peraza --- client/crashpad_client_linux.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/crashpad_client_linux.cc b/client/crashpad_client_linux.cc index 54fe268a..6a7c638c 100644 --- a/client/crashpad_client_linux.cc +++ b/client/crashpad_client_linux.cc @@ -199,7 +199,7 @@ bool CrashpadClient::StartHandlerForClient( std::vector argv = BuildHandlerArgvStrings( handler, database, metrics_dir, url, annotations, arguments); - argv.push_back(FormatArgumentInt("initial-client", socket)); + argv.push_back(FormatArgumentInt("initial-client-fd", socket)); return DoubleForkAndExec(argv, socket, true, nullptr); }