Skip to content

Commit d44a62c

Browse files
authored
Signed-off-by: Zoey <zoey@z0ey.de>
1 parent e1ca91c commit d44a62c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

rootfs/usr/local/bin/start.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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
546546
else
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

0 commit comments

Comments
 (0)