Skip to contentSkip to conversation

90livenet/module-setup.sh: do not pollute stdout

PATCH John Reiser 2 participants 2 messages Oct 20, 2011 – Oct 21, 2011 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

stdout is not for kibitzing.

From e6a60c3bd845eae4b710377008cccf3e05c3df50 Mon Sep 17 00:00:00 2001
From: John Reiser <jreiser-L8/tzxVKHrlWk0Htik3J/[email protected]>
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(-)
modules.d/90livenet/module-setup.sh +1 -1
index 3ee7521..a6ee3e0 100755
@@ -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
 }
 
Signature · 1 line
1.7.6.4

A message that is not in the archive (sent off-list or not yet received): 4EA07CF3.6070306-Po6cBsTGB2ZWk0Htik3J/[email protected]

#2 lore raw
Quoted 2 lines · John Reiser

stdout is not for kibitzing.

already fixed