xbps-uunshare: fix typo in an error msg (thanks uggedal).
This commit is contained in:
parent
f9b6dd9d2d
commit
519ea4001c
@ -156,7 +156,7 @@ main(int argc, char **argv)
|
|||||||
if ((fd = open("/proc/self/gid_map", O_RDWR)) == -1)
|
if ((fd = open("/proc/self/gid_map", O_RDWR)) == -1)
|
||||||
die("failed to open /proc/self/gid_map rw");
|
die("failed to open /proc/self/gid_map rw");
|
||||||
if (write(fd, buf, snprintf(buf, sizeof buf, "%u %u 1\n", gid, gid)) == -1)
|
if (write(fd, buf, snprintf(buf, sizeof buf, "%u %u 1\n", gid, gid)) == -1)
|
||||||
die("failed to write to /proc/self/setgroups");
|
die("failed to write to /proc/self/gid_map");
|
||||||
|
|
||||||
close(fd);
|
close(fd);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user