aboutsummaryrefslogtreecommitdiff
path: root/X
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2022-04-27 23:04:00 +1200
committerTom Ryder <tom@sanctum.geek.nz>2022-04-27 23:06:34 +1200
commit79592ae5e3840a6e5932ce3ec43ede74f01bf75a (patch)
treee40d6f4e608668bf6e6bf3b290ba4acfdee5c1c1 /X
parentCheck for procfs file existence before usage (diff)
downloaddotfiles-79592ae5e3840a6e5932ce3ec43ede74f01bf75a.tar.gz
dotfiles-79592ae5e3840a6e5932ce3ec43ede74f01bf75a.zip
Remove unneeded stdin redirection
Diffstat (limited to 'X')
-rw-r--r--X/xsession.d/browser.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/X/xsession.d/browser.sh b/X/xsession.d/browser.sh
index 319659a3..0fe65c78 100644
--- a/X/xsession.d/browser.sh
+++ b/X/xsession.d/browser.sh
@@ -16,7 +16,7 @@ if (
# Do switch if we have procfs' meminfo resource, and it says we have less
# than 2GB of RAM; otherwise, conclude we won't switch
[ -e /proc/meminfo ] \
- && awk '$1=="MemTotal:"&&$2<2^20{m++}END{exit!m}' < /proc/meminfo
+ && awk '$1=="MemTotal:"&&$2<2^20{m++}END{exit!m}' /proc/meminfo
) ; then
BROWSER=dillo
fi >/dev/null 2>&1