Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] acpi_call-dkms-1.2.0.3: fixing of script 'turn_off_gpu.sh'
@ 2021-07-10 23:38 abhocetabhac
  2021-07-15 11:28 ` ahesford
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: abhocetabhac @ 2021-07-10 23:38 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 465 bytes --]

New issue by abhocetabhac on void-packages repository

https://github.com/void-linux/void-packages/issues/31901

Description:
acpi_call-dkms-1.2.0.3

In script '/usr/share/acpi_call/turn_off_gpu.sh', the line

result=$(cat /proc/acpi/call)

causes a warning that spoils the functioning: "bash: line 41: warning: command substitution: ignored null byte in input¨.

The following amendment solves the issue:

result=$(cat /proc/acpi/call | tr '\0' '\n')


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-06-09  2:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-10 23:38 [ISSUE] acpi_call-dkms-1.2.0.3: fixing of script 'turn_off_gpu.sh' abhocetabhac
2021-07-15 11:28 ` ahesford
2022-05-25  2:15 ` github-actions
2022-06-09  2:11 ` [ISSUE] [CLOSED] " github-actions

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).