Skip to content

Commit f1b7156

Browse files
authored
Merge pull request NginxProxyManager#3000 from xrh0905/xrh0905-patch-sed
Fix device or resource busy when patching IPv6 settings
2 parents 98465cf + 63ee69f commit f1b7156

File tree

1 file changed

+1
-1
lines changed
  • docker/rootfs/etc/s6-overlay/s6-rc.d/prepare

1 file changed

+1
-1
lines changed

docker/rootfs/etc/s6-overlay/s6-rc.d/prepare/50-ipv6.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ process_folder () {
2828
for FILE in $FILES
2929
do
3030
echo "- ${FILE}"
31-
sed -E -i "$SED_REGEX" "$FILE"
31+
echo "$(sed -E "$SED_REGEX" "$FILE")" > $FILE
3232
done
3333

3434
# ensure the files are still owned by the npm user

0 commit comments

Comments
 (0)