]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
do not display "file not found" for /etc/lsb-release
authorHarald Hoyer <harald@redhat.com>
Mon, 9 Mar 2009 08:18:25 +0000 (09:18 +0100)
committerHarald Hoyer <harald@redhat.com>
Mon, 9 Mar 2009 08:18:25 +0000 (09:18 +0100)
modules.d/95udev-rules.ub810/check

index 318185fc72dcd187e7eb38d1a310bf080b2bc9a0..7081b0dacb0aed6855bdf580f6e93a77e99d9f79 100755 (executable)
@@ -1,4 +1,4 @@
 #!/bin/sh
 
 [ -f /etc/lsb-release ] && \ 
-grep -q 'DISTRIB_DESCRIPTION="Ubuntu 8.10"' /etc/lsb-release
\ No newline at end of file
+grep -q 'DISTRIB_DESCRIPTION="Ubuntu 8.10"' /etc/lsb-release 2>/dev/null