[PATCH] ver_linux: don't print reiser4progs version if none found

From: Alexey Dobriyan
Date: Wed Sep 21 2005 - 12:27:06 EST


Signed-off-by: Alexey Dobriyan <adobriyan@xxxxxxxxx>
---

scripts/ver_linux | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--- a/scripts/ver_linux
+++ b/scripts/ver_linux
@@ -42,7 +42,7 @@ fsck.jfs -V 2>&1 | grep version | sed 's
reiserfsck -V 2>&1 | grep reiserfsck | awk \
'NR==1{print "reiserfsprogs ", $2}'

-fsck.reiser4 -V 2>&1 | grep fsck.reiser4 | awk \
+fsck.reiser4 -V 2>&1 | grep ^fsck.reiser4 | awk \
'NR==1{print "reiser4progs ", $2}'

xfs_db -V 2>&1 | grep version | awk \

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/