Toggle navigation
Toggle navigation
This project
Loading...
Sign in
UT
/
clsync
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
redmine
2015-05-13 11:35:52 +0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
f306b76bae6fbd01aca9917fe80d916ad8b387fa
f306b76b
1 parent
b2b08fb0
Fixed building on Debian/kFreeBSD
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
main.c
main.c
View file @
f306b76
...
...
@@ -2763,7 +2763,8 @@ int main(int _argc, char *_argv[]) {
}
#ifdef GETMNTENT_SUPPORT
#ifdef UNSHARE_SUPPORT
# ifdef GETMNTENT_SUPPORT
if
(
ctx_p
->
mountpoints
&&
(
ent_f
!=
NULL
))
{
// Getting mount-points to be umounted
while
(
NULL
!=
(
ent
=
getmntent
(
ent_f
)))
{
...
...
@@ -2792,6 +2793,7 @@ int main(int _argc, char *_argv[]) {
endmntent
(
ent_f
);
}
# endif
#endif
if
(
ctx_p
->
chroot_dir
!=
NULL
)
{
#ifdef PIVOTROOT_OPT_SUPPORT
...
...
Please
register
or
login
to post a comment