]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
plymouth: suppress "find" errors
authorHarald Hoyer <harald@redhat.com>
Thu, 8 Oct 2009 12:14:23 +0000 (14:14 +0200)
committerHarald Hoyer <harald@redhat.com>
Thu, 8 Oct 2009 12:21:31 +0000 (14:21 +0200)
modules.d/50plymouth/installkernel

index 4b281e8caf7e4d15aeeabe9db9da0ac01d8c354d..61f2422bfc440fbbffae0e51da313453e8f763bc 100755 (executable)
@@ -1,5 +1,5 @@
 #!/bin/bash
 # Include KMS capable drm drivers
-for modname in $(find "$srcmods/kernel/drivers/gpu/drm" -name '*.ko'); do
+for modname in $(find "$srcmods/kernel/drivers/gpu/drm" -name '*.ko' 2>/dev/null); do
     nm -uPA $modname | grep -q drm_crtc_init && instmods $modname
 done