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 BD1A7138359 for ; Fri, 28 Aug 2020 20:18:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9B0BEE0A7F; Fri, 28 Aug 2020 20:18:49 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 83114E0A82 for ; Fri, 28 Aug 2020 20:18:49 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 A61FC340B0B for ; Fri, 28 Aug 2020 20:18:47 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 24BFF336 for ; Fri, 28 Aug 2020 20:18:46 +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: <1598622337.3c7bcc98ee94cfda5d1d63d366a61bca281c965c.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: 3c7bcc98ee94cfda5d1d63d366a61bca281c965c X-VCS-Branch: master Date: Fri, 28 Aug 2020 20:18:46 +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: 009d14f8-1ec5-45e5-9a90-7b73d0db2d09 X-Archives-Hash: c546349f4aedb69d307d16c3b7ea7228 commit: 3c7bcc98ee94cfda5d1d63d366a61bca281c965c Author: Thomas Deutschmann gentoo org> AuthorDate: Thu Aug 27 22:56:04 2020 +0000 Commit: Thomas Deutschmann gentoo org> CommitDate: Fri Aug 28 13:45:37 2020 +0000 URL: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=3c7bcc98 defaults/initrd.scripts: log_msg(): Leave function early in case log file cannot be written Signed-off-by: Thomas Deutschmann gentoo.org> defaults/initrd.scripts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/defaults/initrd.scripts b/defaults/initrd.scripts index 29ec123..b579e4f 100644 --- a/defaults/initrd.scripts +++ b/defaults/initrd.scripts @@ -1072,7 +1072,7 @@ log_msg() { if [ ! -f "${GK_INIT_LOG}" ] then - touch "${GK_INIT_LOG}" + touch "${GK_INIT_LOG}" 2>/dev/null || return fi local log_prefix=