Skip to content
Snippets Groups Projects
Commit ea88df9b authored by Alexey Dobriyan's avatar Alexey Dobriyan Committed by Sam Ravnborg
Browse files

ver_linux: don't print reiser4progs version if none found


Sam: did the same for reiserprogs

Signed-off-by: default avatarAlexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
parent 0947640f
No related branches found
No related tags found
No related merge requests found
...@@ -39,10 +39,10 @@ tune2fs 2>&1 | grep "^tune2fs" | sed 's/,//' | awk \ ...@@ -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 \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment