]> err.no Git - linux-2.6/commitdiff
ver_linux: don't print reiser4progs version if none found
authorAlexey Dobriyan <adobriyan@gmail.com>
Wed, 21 Sep 2005 17:37:24 +0000 (21:37 +0400)
committerSam Ravnborg <sam@mars.ravnborg.org>
Wed, 5 Apr 2006 11:10:19 +0000 (13:10 +0200)
Sam: did the same for reiserprogs

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
scripts/ver_linux

index beb43ef7f761fffaaa80393129e554922f92b544..84999f69773d6cc232ea6db365eac38e4e1b83ba 100755 (executable)
@@ -39,10 +39,10 @@ tune2fs 2>&1 | grep "^tune2fs" | sed 's/,//' |  awk \
 fsck.jfs -V 2>&1 | grep version | sed 's/,//' |  awk \
 'NR==1 {print "jfsutils              ", $3}'
 
-reiserfsck -V 2>&1 | grep reiserfsck | awk \
+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 \