merge fix for blank lines from trunk

1_9_stable
Mike Frysinger 2008-02-12 15:27:17 +00:00
parent aeb725e185
commit 0b18cd3d04
1 changed files with 6 additions and 2 deletions

View File

@ -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) {