Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(resume): check for presence of /sys/power/resume
On platforms where the kernel is built without suspend/resume support we see "cat: /sys/power/resume: No such file or directory" message when creating an initrd image. Check for the presence of /sys/power/resume first before reading it. Signed-off-by: Dan Horák <dan@danny.cz>
- Loading branch information