Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fa3431cf authored by Cole Faust's avatar Cole Faust
Browse files

Ignore errors when running df in build_test.bash

On glinux, df -h prints an "Operation not permitted" error
along with the rest of the output, and exits with status code 1,
causing the rest of the build_test script to not run. Ignore this
error.

Test: Running build_test.bash
Change-Id: I5422d0459ed471671d8d99a883c9ac3fca2e91b8
parent a5524e32
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -50,7 +50,9 @@ esac

echo
echo "Free disk space:"
df -h
# Ignore df errors because it errors out on gvfsd file systems
# but still displays most of the useful info we need
df -h || true

echo
echo "Running Bazel smoke test..."