libfdisk: fix script next_token()
Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
parent
90dc69e40a
commit
2ce7b95985
|
@ -494,7 +494,7 @@ static char *next_token(char **str)
|
|||
if (!tk_begin) {
|
||||
if (isblank(*p))
|
||||
continue;
|
||||
tk_begin = p;
|
||||
tk_begin = *p == '"' ? p + 1 : p;
|
||||
}
|
||||
if (*p == '"')
|
||||
open_quote ^= 1;
|
||||
|
|
Loading…
Reference in New Issue