Skip to content

Commit

Permalink
ver_linux: don't print reiser4progs version if none found
Browse files Browse the repository at this point in the history
Sam: did the same for reiserprogs

Signed-off-by: Alexey Dobriyan <[email protected]>
Signed-off-by: Sam Ravnborg <[email protected]>
  • Loading branch information
Alexey Dobriyan authored and Sam Ravnborg committed Apr 5, 2006
1 parent 0947640 commit ea88df9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/ver_linux
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit ea88df9

Please sign in to comment.