You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On Manjaro 18.1.5 turn_off_gpu.sh script returns line 39: warning: command substitution: ignored null byte in input warning instead of saying "failed" or "works"
I fixed it by replacing line 39
result=$(cat /proc/acpi/call)
with
result=$(tr -d '\0' </proc/acpi/call)
The text was updated successfully, but these errors were encountered:
sidenkov
changed the title
Fix for line 39: warning: command substitution: ignored null byte in input on Manjaro 18.1.5
Fix for line 39: warning: command substitution: ignored null byte in input in turn_off_gpu.sh on Manjaro 18.1.5
Jan 24, 2020
On Manjaro 18.1.5
turn_off_gpu.sh
script returnsline 39: warning: command substitution: ignored null byte in input
warning instead of saying "failed" or "works"I fixed it by replacing line 39
with
The text was updated successfully, but these errors were encountered: