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>
This commit is contained in:
parent
0947640f43
commit
ea88df9bf8
1 changed files with 2 additions and 2 deletions
|
@ -39,10 +39,10 @@ tune2fs 2>&1 | grep "^tune2fs" | sed 's/,//' | awk \
|
||||||
fsck.jfs -V 2>&1 | grep version | sed 's/,//' | awk \
|
fsck.jfs -V 2>&1 | grep version | sed 's/,//' | awk \
|
||||||
'NR==1 {print "jfsutils ", $3}'
|
'NR==1 {print "jfsutils ", $3}'
|
||||||
|
|
||||||
reiserfsck -V 2>&1 | grep reiserfsck | awk \
|
reiserfsck -V 2>&1 | grep ^reiserfsck | awk \
|
||||||
'NR==1{print "reiserfsprogs ", $2}'
|
'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}'
|
'NR==1{print "reiser4progs ", $2}'
|
||||||
|
|
||||||
xfs_db -V 2>&1 | grep version | awk \
|
xfs_db -V 2>&1 | grep version | awk \
|
||||||
|
|
Loading…
Reference in a new issue