as reported by George Boudreau, make sure we properly skip blank lines
This commit is contained in:
parent
46904bfbcc
commit
46ef46aefb
@ -78,8 +78,12 @@ static void make_device(char *path, int delete)
|
||||
val = strtok(vline, " \t");
|
||||
vline = NULL;
|
||||
} while (val && !*val);
|
||||
if (!val)
|
||||
break;
|
||||
if (!val) {
|
||||
if (field)
|
||||
break;
|
||||
else
|
||||
goto next_line;
|
||||
}
|
||||
|
||||
if (field == 0) {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user