X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@mail.alpinelinux.org Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id 9D753DC6BFA for ; Thu, 27 Jun 2013 22:35:56 +0000 (UTC) Received: from compute2.internal (compute2.nyi.mail.srv.osa [10.202.2.42]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id A561721067 for ; Thu, 27 Jun 2013 18:35:52 -0400 (EDT) Received: from frontend2.nyi.mail.srv.osa ([10.202.2.161]) by compute2.internal (MEProxy); Thu, 27 Jun 2013 18:35:52 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=from:to:subject:date:message-id :in-reply-to:references; s=smtpout; bh=T1FNMP7YX8jF2BuB5Y2byEiTQ eQ=; b=uY4aJMPS7Q0nMqMIeTCJmGucgGzKrjT5+mIiypZsAH/p+zJUVe7w1IzPK agN69N/JVfsaMHDbOmMhJo6NIdlE6/K5GuS3Ne2N8FDiIiew1s/VyWavY8VVaqrZ LEDlH/NVPfuMgSezirx3+qNFRP3vvlyVA6ZN0jIUg1rtl4lpZI= X-Sasl-enc: R5CwHvje3a5PDo5f+C8MSzj20wyWsmVKR4Jt3qaHkHq4 1372372552 Received: from localhost (unknown [69.86.161.244]) by mail.messagingengine.com (Postfix) with ESMTPA id 73A8368021D for ; Thu, 27 Jun 2013 18:35:52 -0400 (EDT) From: Dubiousjim To: alpine-devel@lists.alpinelinux.org Subject: [alpine-devel] [PATCH 6/8] log execution of install scripts Date: Thu, 27 Jun 2013 18:35:47 -0400 Message-Id: <0063cea31f0129d174b15dd4be598029ffb3305e.1372372343.git.dubiousjim@gmail.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: References: X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: --- src/package.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/package.c b/src/package.c index e211b63..b1334dc 100644 --- a/src/package.c +++ b/src/package.c @@ -995,7 +995,7 @@ void apk_ipkg_run_script(struct apk_installed_package *ipkg, PKG_VER_PRINTF(pkg), apk_script_types[type]); - apk_message("Executing %s", &fn[15]); + apk_lmessage("Executing %s", &fn[15]); if (apk_flags & APK_SIMULATE) return; @@ -1025,12 +1025,12 @@ void apk_ipkg_run_script(struct apk_installed_package *ipkg, apk_id_cache_reset(&db->id_cache); if (!WIFEXITED(status) || WEXITSTATUS(status) != 0) { - apk_error("%s: script exited with error %d", &fn[15], WEXITSTATUS(status)); + apk_lerror("%s: script exited with error %d", &fn[15], WEXITSTATUS(status)); ipkg->broken_script = 1; } return; error: - apk_error("%s: failed to execute: %s", &fn[15], apk_error_str(errno)); + apk_lerror("%s: failed to execute: %s", &fn[15], apk_error_str(errno)); ipkg->broken_script = 1; } -- 1.8.3.1 --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---