io.files.info.unix.linux: sometimes /etc/mtab isn't properly formatted (found on arch linux)

db4
Philipp Brüschweiler 2010-08-01 14:00:03 +02:00
parent b4d23a9d3b
commit 352e263de6
1 changed files with 2 additions and 2 deletions

View File

@ -51,8 +51,8 @@ frequency pass-number ;
[ second >>mount-point ]
[ third >>type ]
[ fourth <string-reader> csv first >>options ]
[ 4 swap nth >>frequency ]
[ 5 swap nth >>pass-number ]
[ 4 swap ?nth [ 0 ] unless* >>frequency ]
[ 5 swap ?nth [ 0 ] unless* >>pass-number ]
} cleave ;
: parse-mtab ( -- array )