diff options
author | Alexey Dobriyan | 2005-09-21 21:37:24 +0400 |
---|---|---|
committer | Sam Ravnborg | 2006-04-05 13:10:19 +0200 |
commit | ea88df9bf895720289331e41ed73cdcb04059900 (patch) | |
tree | f524cceee9b527cd6e10cc7e3a5fa77be8d3f3ca /scripts | |
parent | 0947640f4388de50a39f762748b08e586a482527 (diff) |
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')
-rwxr-xr-x | scripts/ver_linux | 4 |
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 \ |