]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
90livenet/module-setup.sh: silence check for wget
authorHarald Hoyer <harald@redhat.com>
Fri, 21 Oct 2011 07:35:38 +0000 (09:35 +0200)
committerHarald Hoyer <harald@redhat.com>
Fri, 21 Oct 2011 07:35:38 +0000 (09:35 +0200)
modules.d/90livenet/module-setup.sh

index 3ee7521bec7ee79556d540d501fea8639a0129e1..a6ee3e0ae52a4f5cb821c88aa5b6f6f5c01bdcfc 100755 (executable)
@@ -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
 }