Skip to content

Commit

Permalink
Merge pull request #3431 from brave/francois-work-around-segfault-4142
Browse files Browse the repository at this point in the history
Hack wrapper to work around segfault
  • Loading branch information
fmarier authored Sep 20, 2019
2 parents 84e7d63 + daa14f1 commit 80301ac
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions patches/chrome-installer-linux-common-wrapper.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
diff --git a/chrome/installer/linux/common/wrapper b/chrome/installer/linux/common/wrapper
index dbbeb27ea037ae1046c38f4006ddccabfeea9e18..fa51c4947d0261bb0138d54f1e807715bba0d345 100755
--- a/chrome/installer/linux/common/wrapper
+++ b/chrome/installer/linux/common/wrapper
@@ -45,5 +45,4 @@ exec < /dev/null
exec > >(exec cat)
exec 2> >(exec cat >&2)

-# Note: exec -a below is a bashism.
-exec -a "$0" "$HERE/@@PROGNAME@@" "$@"
+"$HERE/@@PROGNAME@@" "$@" || true

0 comments on commit 80301ac

Please sign in to comment.