From: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [ISSUE] [CLOSED] acpi_call-dkms-1.2.0.3: fixing of script 'turn_off_gpu.sh'
Date: Thu, 09 Jun 2022 04:11:16 +0200 [thread overview]
Message-ID: <20220609021116.F34TM7ADFgjgFBxRB-73uBuAlWz7iktshIv2xf56Toc@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-31901@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 468 bytes --]
Closed 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')
prev parent reply other threads:[~2022-06-09 2:11 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-10 23:38 [ISSUE] " abhocetabhac
2021-07-15 11:28 ` ahesford
2022-05-25 2:15 ` github-actions
2022-06-09 2:11 ` github-actions [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220609021116.F34TM7ADFgjgFBxRB-73uBuAlWz7iktshIv2xf56Toc@z \
--to=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).