From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 2E97E1382C5 for ; Thu, 23 Jun 2016 03:17:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7744EE08EF; Thu, 23 Jun 2016 03:17:40 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BD9A8E08EF for ; Thu, 23 Jun 2016 03:17:39 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id AEC65340AF3 for ; Thu, 23 Jun 2016 03:17:37 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5412F23BD for ; Thu, 23 Jun 2016 03:17:34 +0000 (UTC) From: "Mike Frysinger" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Frysinger" Message-ID: <1466651836.a0b9c8b3daa217615bf85f2e3596ce0068c2c847.vapier@gentoo> Subject: [gentoo-commits] proj/genkernel:master commit in: / X-VCS-Repository: proj/genkernel X-VCS-Files: genkernel X-VCS-Directories: / X-VCS-Committer: vapier X-VCS-Committer-Name: Mike Frysinger X-VCS-Revision: a0b9c8b3daa217615bf85f2e3596ce0068c2c847 X-VCS-Branch: master Date: Thu, 23 Jun 2016 03:17:34 +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-Archives-Salt: d0644191-4489-4bd5-972c-fbf74722e3c9 X-Archives-Hash: cccc81f64b8908cd1ca76d609f5504a5 commit: a0b9c8b3daa217615bf85f2e3596ce0068c2c847 Author: Mike Frysinger gentoo org> AuthorDate: Thu Jun 23 03:17:16 2016 +0000 Commit: Mike Frysinger gentoo org> CommitDate: Thu Jun 23 03:17:16 2016 +0000 URL: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=a0b9c8b3 cleanup small_die a bit Fix quoting, make sure it's clear we're failing, and send output to stderr. genkernel | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/genkernel b/genkernel index 01649f1..a404415 100755 --- a/genkernel +++ b/genkernel @@ -11,8 +11,8 @@ TMPDIR='/var/tmp/genkernel' TODEBUGCACHE=1 # Until an error occurs or LOGFILE is fully qualified. small_die() { - echo $1 - exit 1 + echo "ERROR: $*" >&2 + exit 1 } parse_opt() {