Silence write errors

Signed-off-by: Tyler Nijmeh <tylernij@gmail.com>
This commit is contained in:
Tyler Nijmeh 2020-08-02 14:00:50 -07:00
parent 7ce1e725d1
commit e933beb5fe

View File

@ -54,7 +54,7 @@ write() {
fi
# Write the new value
echo "$2" > "$1"
echo "$2" > "$1" &> /dev/null
# Bail out if write fails
if [[ $? -ne 0 ]]