Always quote files when producing a listing

Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
This commit is contained in:
David Oberhollenzer 2019-07-17 18:13:02 +02:00
parent 4a7b1d3b3c
commit 80f298de55
1 changed files with 1 additions and 1 deletions

View File

@ -122,7 +122,7 @@ static int print_pkg(image_entry_t *ent, const char *root)
return -1;
}
printf(" %s 0%o %u %u ", ent->name, mode,
printf(" \"%s\" 0%o %u %u ", ent->name, mode,
(unsigned int)ent->uid, (unsigned int)ent->gid);
switch (ent->mode & S_IFMT) {