From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 269EC1382C5 for ; Tue, 23 Jun 2020 19:14:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 59E66E0883; Tue, 23 Jun 2020 19:14:42 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 43EAEE0883 for ; Tue, 23 Jun 2020 19:14:42 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E753A34F02D for ; Tue, 23 Jun 2020 19:14:40 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E1EB928E for ; Tue, 23 Jun 2020 19:14:38 +0000 (UTC) From: "Thomas Deutschmann" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Thomas Deutschmann" Message-ID: <1592939297.24d3f6b4b3afe1125fa9296b50b55f75870c645e.whissi@gentoo> Subject: [gentoo-commits] proj/genkernel:master commit in: defaults/ X-VCS-Repository: proj/genkernel X-VCS-Files: defaults/initrd.scripts X-VCS-Directories: defaults/ X-VCS-Committer: whissi X-VCS-Committer-Name: Thomas Deutschmann X-VCS-Revision: 24d3f6b4b3afe1125fa9296b50b55f75870c645e X-VCS-Branch: master Date: Tue, 23 Jun 2020 19:14:38 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 98a92aff-5dc7-4dc2-8ba7-5015b9964de1 X-Archives-Hash: 97eb87732bb0e10acafef230b95fa8c7 commit: 24d3f6b4b3afe1125fa9296b50b55f75870c645e Author: Thomas Deutschmann gentoo org> AuthorDate: Tue Jun 23 19:08:17 2020 +0000 Commit: Thomas Deutschmann gentoo 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 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 }