diff options
author | John Crispin <john@phrozen.org> | 2016-08-31 18:16:31 +0200 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2016-08-31 18:16:31 +0200 |
commit | f9ad6bacd7efa578369427e7e75f0177bd3cf290 (patch) | |
tree | 72d9f2de68a5e99e426a2a6b1e30161ab2013fb3 | |
parent | 3f0e8e1a08a7dbfd408affeece24f626bf4a54b8 (diff) | |
download | fstools-f9ad6bacd7efa578369427e7e75f0177bd3cf290.tar.gz |
fix logic bug inside extroot uuid verification code
Signed-off-by: John Crispin <john@phrozen.org>
-rw-r--r-- | block.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1108,7 +1108,7 @@ static int check_extroot(char *path) tag, errno, strerror(errno)); fclose(fp); - if (*uuid || !strcasecmp(uuid, pr->uuid)) + if (*uuid && !strcasecmp(uuid, pr->uuid)) return 0; ULOG_ERR("extroot: UUID mismatch (root: %s, %s: %s)\n", |