File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -528,7 +528,7 @@ if [ "$PUID" != "0" ]; then
528528 /tmp \
529529 -not \( -uid " $PUID " -and -gid " $PGID " \) \
530530 -print0 \
531- | xargs -0 -P " $(( $(nproc)* 4 )) " -n 50 chown " $PUID :$PGID "
531+ | xargs -r0 -P " $(( $(nproc)* 4 )) " -n 50 chown " $PUID :$PGID "
532532 chown " $PUID :$PGID " /proc/self/fd/2
533533 if [ " $PHP83 " = " true" ]; then
534534 sed -i " s|;\?user =.*|;user = root|" /data/php/83/php-fpm.d/www.conf
@@ -544,7 +544,7 @@ if [ "$PUID" != "0" ]; then
544544 fi
545545 exec su-exec " $PUID :$PGID " launch.sh
546546else
547- find /data -not \( -uid 0 -and -gid 0 \) -print0 | xargs -0 -P " $(( $(nproc)* 4 )) " -n 50 chown 0:0
547+ find /data -not \( -uid 0 -and -gid 0 \) -print0 | xargs -r0 -P " $(( $(nproc)* 4 )) " -n 50 chown 0:0
548548 if [ " $PHP83 " = " true" ]; then
549549 sed -i " s|;user =.*|user = root|" /data/php/83/php-fpm.d/www.conf
550550 sed -i " s|;group =.*|group = root|" /data/php/83/php-fpm.d/www.conf
You can’t perform that action at this time.
0 commit comments