1
0
Fork 0
mirror of https://github.com/pygos/pkg-utils.git synced 2024-12-26 06:30:52 +01:00

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

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