summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--google-chrome/google-chrome-stable.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/google-chrome/google-chrome-stable.sh b/google-chrome/google-chrome-stable.sh
index 3405ad70a..3bc963edc 100644
--- a/google-chrome/google-chrome-stable.sh
+++ b/google-chrome/google-chrome-stable.sh
@@ -4,8 +4,8 @@ XDG_CONFIG_HOME=${XDG_CONFIG_HOME:-~/.config}
# Allow users to override command-line options
if [[ -f $XDG_CONFIG_HOME/chrome-flags.conf ]]; then
- CHROME_USER_FLAGS="$(cat $XDG_CONFIG_HOME/chrome-flags.conf)"
+ CHROME_USER_FLAGS="$(grep -v '^#' $XDG_CONFIG_HOME/chrome-flags.conf)"
fi
# Launch
-exec /opt/google/chrome/google-chrome $CHROME_USER_FLAGS "$@" \ No newline at end of file
+exec /opt/google/chrome/google-chrome $CHROME_USER_FLAGS "$@"