summaryrefslogtreecommitdiff
path: root/scripts/ver_linux
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2005-09-21 21:37:24 +0400
committerSam Ravnborg <sam@mars.ravnborg.org>2006-04-05 13:10:19 +0200
commitea88df9bf895720289331e41ed73cdcb04059900 (patch)
treef524cceee9b527cd6e10cc7e3a5fa77be8d3f3ca /scripts/ver_linux
parent0947640f4388de50a39f762748b08e586a482527 (diff)
downloadkernel-common-ea88df9bf895720289331e41ed73cdcb04059900.tar.gz
kernel-common-ea88df9bf895720289331e41ed73cdcb04059900.tar.bz2
kernel-common-ea88df9bf895720289331e41ed73cdcb04059900.zip
ver_linux: don't print reiser4progs version if none found
Sam: did the same for reiserprogs Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'scripts/ver_linux')
-rwxr-xr-xscripts/ver_linux4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/ver_linux b/scripts/ver_linux
index beb43ef7f761..84999f69773d 100755
--- a/scripts/ver_linux
+++ b/scripts/ver_linux
@@ -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 \