make indent
This commit is contained in:
parent
a2d5b07c76
commit
f7554882fe
4
mnt.cc
4
mnt.cc
@ -178,8 +178,8 @@ static bool mountPt(mount_t* mpt, const char* newroot, const char* tmpdir) {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (!util::writeToFd(fd, mpt->src_content.data(), mpt->src_content.length())) {
|
if (!util::writeToFd(fd, mpt->src_content.data(), mpt->src_content.length())) {
|
||||||
LOG_W("Writing %zu bytes to '%s' failed", mpt->src_content.length(),
|
LOG_W(
|
||||||
srcpath);
|
"Writing %zu bytes to '%s' failed", mpt->src_content.length(), srcpath);
|
||||||
close(fd);
|
close(fd);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
8
user.cc
8
user.cc
@ -48,15 +48,15 @@
|
|||||||
|
|
||||||
constexpr char kNewUidPath[] =
|
constexpr char kNewUidPath[] =
|
||||||
#ifdef NEWUIDMAP_PATH
|
#ifdef NEWUIDMAP_PATH
|
||||||
STR(NEWUIDMAP_PATH);
|
STR(NEWUIDMAP_PATH);
|
||||||
#else
|
#else
|
||||||
"/usr/bin/newuidmap";
|
"/usr/bin/newuidmap";
|
||||||
#endif
|
#endif
|
||||||
constexpr char kNewGidPath[] =
|
constexpr char kNewGidPath[] =
|
||||||
#ifdef NEWGIDMAP_PATH
|
#ifdef NEWGIDMAP_PATH
|
||||||
STR(NEWGIDMAP_PATH);
|
STR(NEWGIDMAP_PATH);
|
||||||
#else
|
#else
|
||||||
"/usr/bin/newgidmap";
|
"/usr/bin/newgidmap";
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
namespace user {
|
namespace user {
|
||||||
|
Loading…
Reference in New Issue
Block a user