Always make file writable

Signed-off-by: tytydraco <tylernij@gmail.com>
latency
tytydraco 4 years ago
parent e268456107
commit c363ec3cab

@ -47,6 +47,9 @@ write() {
return 0
fi
# Make file writable
chmod +w "$1" 2> /dev/null
# Write the new value
if ! echo "$2" > "$1" 2> /dev/null
then

Loading…
Cancel
Save