Skip to contentSkip to conversation

Bug in a resume module script

DISCUSSION Carlos Pinto 1 participant 1 message Jul 2, 2020

lore
Share & tools
lore
#0 lore 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)
---

Quoted 1 line

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.