Mandriva bug https://qa.mandriva.com/show_bug.cgi?id=57924. Check if dracut got resume= argument before calling /usr/sbin/resume Signed-off-by: Andrey Borzenkov <arvidjaar@xxxxxxx> --- modules.d/95uswsusp/resume-uswsusp.sh | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/modules.d/95uswsusp/resume-uswsusp.sh b/modules.d/95uswsusp/resume-uswsusp.sh index 9b18567..ce0e3d2 100755 --- a/modules.d/95uswsusp/resume-uswsusp.sh +++ b/modules.d/95uswsusp/resume-uswsusp.sh @@ -8,4 +8,6 @@ case "$splash" in ;; esac -/usr/sbin/resume $a_splash "$resume" +if [ -n "$resume" ]; then + /usr/sbin/resume $a_splash "$resume" +fi -- To unsubscribe from this list: send the line "unsubscribe initramfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html