-
Notifications
You must be signed in to change notification settings - Fork 900
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Hack wrapper to work around segfault (brave/brave-browser#4142)
- Loading branch information
Showing
1 changed file
with
12 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
diff --git a/chrome/installer/linux/common/wrapper b/chrome/installer/linux/common/wrapper | ||
index dbbeb27ea037ae1046c38f4006ddccabfeea9e18..4aea7fbb7dc464aad4232b71de2eb940a0ddbf4e 100755 | ||
--- a/chrome/installer/linux/common/wrapper | ||
+++ b/chrome/installer/linux/common/wrapper | ||
@@ -46,4 +46,6 @@ exec > >(exec cat) | ||
exec 2> >(exec cat >&2) | ||
|
||
# Note: exec -a below is a bashism. | ||
-exec -a "$0" "$HERE/@@PROGNAME@@" "$@" | ||
+#exec -a "$0" "$HERE/@@PROGNAME@@" "$@" | ||
+# Hack to work around brave/brave-browser#4142 | ||
+"$HERE/@@PROGNAME@@" "$@" || true |