Fixed the shared memory check.
This commit is contained in:
parent
850bb09e75
commit
ab4b80ebeb
2 changed files with 4 additions and 4 deletions
|
@ -20,9 +20,9 @@ fi
|
|||
# Verify the size of /dev/shm.
|
||||
SHM_SIZE_MB="$(df -m /dev/shm | tail -n 1 | tr -s ' ' | cut -d ' ' -f2)"
|
||||
if [ "$SHM_SIZE_MB" -eq 64 ]; then
|
||||
echo 'FAIL' > /tmp/.firefox_shm_check
|
||||
echo 'SHM_CHECK_FAIL' > /tmp/.firefox_shm_check
|
||||
else
|
||||
echo 'PASS' > /tmp/.firefox_shm_check
|
||||
echo 'SHM_CHECK_PASS' > /tmp/.firefox_shm_check
|
||||
fi
|
||||
|
||||
if /usr/bin/membarrier_check 2>/dev/null; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue