if newuidmap or newgidmap fail, print all their arguments
This commit is contained in:
parent
d232870b28
commit
e7e6ec0314
1 changed files with 2 additions and 2 deletions
|
@ -295,10 +295,10 @@ sub get_unshare_cmd(&$) {
|
||||||
}
|
}
|
||||||
my $idmapcmd = '';
|
my $idmapcmd = '';
|
||||||
if ($uidmapcmd ne "") {
|
if ($uidmapcmd ne "") {
|
||||||
0 == system "newuidmap $ppid $uidmapcmd" or die "newuidmap failed: $!";
|
0 == system "newuidmap $ppid $uidmapcmd" or die "newuidmap $ppid $uidmapcmd failed: $!";
|
||||||
}
|
}
|
||||||
if ($gidmapcmd ne "") {
|
if ($gidmapcmd ne "") {
|
||||||
0 == system "newgidmap $ppid $gidmapcmd" or die "newgidmap failed: $!";
|
0 == system "newgidmap $ppid $gidmapcmd" or die "newgidmap $ppid $gidmapcmd failed: $!";
|
||||||
}
|
}
|
||||||
exit 0;
|
exit 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue