[snap] Needlessly cats ~/.chromium-browser.init
Bug #1877593 reported by
Roman Odaisky
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
chromium-browser (Ubuntu) |
Fix Released
|
Low
|
Olivier Tilloy |
Bug Description
$ fgrep -w cat -C4 /snap/chromium/
# Source ~/.chromium-
# deb package (https:/
if [ -f $REALHOME/
cat $REALHOME/
if [ "$?" -eq "0" ]; then
. $REALHOME/
fi
fi
This `cat` needlessly clutters the output when using things like `xdg-open`. If the intent is to check whether policies permit reading the file (so `test -f` wouldn’t work), then the stdout should be redirected to /dev/null as well.
Changed in chromium-browser (Ubuntu): | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Thank you for your bug report
The change was added in /git.launchpad. net/~chromium- team/chromium- browser/ +git/snap- from-source/ commit/ ?h=beta& id=5e1f049a
https:/
Redirecting the output makes sense