From 2dffb2c52f94b9e4f39691b668fbb9b2b6885647 Mon Sep 17 00:00:00 2001 From: Fabio Erculiani Date: Wed, 28 Aug 2013 12:47:30 +0200 Subject: [PATCH] initrd.scripts: trivial, fix swsusp_resume() code style --- defaults/initrd.scripts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/defaults/initrd.scripts b/defaults/initrd.scripts index aa39825..abc99e5 100755 --- a/defaults/initrd.scripts +++ b/defaults/initrd.scripts @@ -1082,7 +1082,8 @@ resume_init() { swsusp_resume() { # determine swap resume partition - local device=$(ls -lL "${REAL_RESUME}" | sed 's/\ */ /g' | cut -d \ -f 5-6 | sed 's/,\ */:/') + local device=$(ls -lL "${REAL_RESUME}" | sed 's/\ */ /g' | \ + cut -d \ -f 5-6 | sed 's/,\ */:/') [ -f /sys/power/resume -a -n "${device}" ] && \ echo "${device}" > /sys/power/resume }