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");
|
val = strtok(vline, " \t");
|
||||||
vline = NULL;
|
vline = NULL;
|
||||||
} while (val && !*val);
|
} while (val && !*val);
|
||||||
if (!val)
|
if (!val) {
|
||||||
break;
|
if (field)
|
||||||
|
break;
|
||||||
|
else
|
||||||
|
goto next_line;
|
||||||
|
}
|
||||||
|
|
||||||
if (field == 0) {
|
if (field == 0) {
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user