commit: 24d3f6b4b3afe1125fa9296b50b55f75870c645e Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> AuthorDate: Tue Jun 23 19:08:17 2020 +0000 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> CommitDate: Tue Jun 23 19:08:17 2020 +0000 URL: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=24d3f6b4
defaults/initrd.scripts: test_success(): Fix quoting Bug: https://bugs.gentoo.org/494710 Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org> defaults/initrd.scripts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/defaults/initrd.scripts b/defaults/initrd.scripts index c03629d..d5378b7 100644 --- a/defaults/initrd.scripts +++ b/defaults/initrd.scripts @@ -1037,8 +1037,8 @@ test_success() { if [ "${retcode}" != '0' ] then error_string=${1} - error_string="${error_string:-run command}" - bad_msg 'Failed to ${1}; failing back to the shell ...' + error_string="${error_string:-Failed to run command}" + bad_msg "${error_string}; Failing back to the shell ..." run_shell fi }