From: "Carlos Pinto" <pilltime-90e5XUkte7Zhl2p70BpVqQ@public.gmane.org>
To: initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Bug in a resume module script
Date: Thu, 02 Jul 2020 11:23:52 +0000 [thread overview]
Message-ID: <175ba0b769057cf5e5ee444df124f3d9@teknik.io> (raw)
Hey everyone,
I'm using Void Linux and if I have the resume module activated, I get a message early on boot saying:
//lib/dracut/hooks/pre-mount/10-resume.sh: line 20: echo: write error: Invalid argument
I managed to fix this with a small adjustment to /usr/lib/dracut/modules.d/95resume/resume.sh:
20c20
< echo "${maj%,}:$min"> /sys/power/resume)
---
> echo $maj:$min | tr -d , > /sys/power/resume)
Never had to submit a bug to such a big project, so I'm not sure if this is the place to do it.
next reply other threads:[~2020-07-02 11:23 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-02 11:23 Carlos Pinto [this message]
-- strict thread matches above, loose matches on Subject: below --
2020-07-02 12:00 Bug in a resume module script Carlos Pinto
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=175ba0b769057cf5e5ee444df124f3d9@teknik.io \
--to=pilltime-90e5xukte7zhl2p70bpvqq@public.gmane.org \
--cc=initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.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 read-only IMAP folder(s) and NNTP newsgroup(s).