mkinitrd unification across distributions
 help / color / mirror / Atom feed
From: John Reiser <jreiser-Po6cBsTGB2ZWk0Htik3J/w@public.gmane.org>
To: initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: 90livenet/module-setup.sh: do not pollute stdout
Date: Thu, 20 Oct 2011 12:56:35 -0700	[thread overview]
Message-ID: <4EA07CF3.6070306@bitwagon.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 34 bytes --]

stdout is not for kibitzing.

-- 

[-- Attachment #2: 0001-do-not-pollute-stdout.patch --]
[-- Type: text/plain, Size: 755 bytes --]

From e6a60c3bd845eae4b710377008cccf3e05c3df50 Mon Sep 17 00:00:00 2001
From: John Reiser <jreiser-L8/tzxVKHrlWk0Htik3J/w@public.gmane.org>
Date: Thu, 20 Oct 2011 12:50:25 -0700
Subject: [PATCH] do not pollute stdout

---
 modules.d/90livenet/module-setup.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules.d/90livenet/module-setup.sh b/modules.d/90livenet/module-setup.sh
index 3ee7521..a6ee3e0 100755
--- a/modules.d/90livenet/module-setup.sh
+++ b/modules.d/90livenet/module-setup.sh
@@ -4,7 +4,7 @@
 check() {
     # a live, host-only image doesn't really make a lot of sense
     [[ $hostonly ]] && return 1
-    command -v wget || return 1
+    command -v wget >/dev/null || return 1
     return 0
 }
 
-- 
1.7.6.4


             reply	other threads:[~2011-10-20 19:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-20 19:56 John Reiser [this message]
     [not found] ` <4EA07CF3.6070306-Po6cBsTGB2ZWk0Htik3J/w@public.gmane.org>
2011-10-21 11:14   ` 90livenet/module-setup.sh: do not pollute stdout Harald Hoyer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4EA07CF3.6070306@bitwagon.com \
    --to=jreiser-po6cbstgb2zwk0htik3j/w@public.gmane.org \
    --cc=initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox