Skip to content

Commit c957ce4

Browse files
committed
use more descriptive func name for mapper
1 parent bf0dfae commit c957ce4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

try

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ EOF
294294
export SOCKET
295295

296296
# Running mapper in a subshell to suppress job control [1] + Done message
297-
(mapper&)
297+
(uid_gid_mapper&)
298298

299299
# --mount: mounting and unmounting filesystems will not affect the rest of the system outside the unshare
300300
# --user: the process will have a distinct set of UIDs, GIDs and capabilities.
@@ -559,7 +559,7 @@ error() {
559559
# Change uid/gid mapping
560560
################################################################################
561561

562-
mapper() {
562+
uid_gid_mapper() {
563563
cat "$SOCKET" > /dev/null
564564
# Get the pid of the unshare process with current pid as parent
565565
pid=$(pgrep -P $$ -f unshare)

0 commit comments

Comments
 (0)