diff --git a/core/scripts/download-chrome.sh b/core/scripts/download-chrome.sh index 7341f565bbf7..8666fb1d55e9 100755 --- a/core/scripts/download-chrome.sh +++ b/core/scripts/download-chrome.sh @@ -95,7 +95,7 @@ if [ "$machine" != "MinGw" ]; then fi # https://chromium.googlesource.com/chromium/src/+/main/docs/linux/suid_sandbox_development.md -if [ "$machine" == "Linux" && -n "$CI" ]; then +if [ "$machine" == "Linux" ] && [ -n "$CI" ]; then sudo chown root:root "$chrome_out/chrome_sandbox" sudo chmod 4755 "$chrome_out/chrome_sandbox" fi