Merge pull request #3000 from xrh0905/xrh0905-patch-sed

Fix device or resource busy when patching IPv6 settings
This commit is contained in:
jc21 2023-07-20 12:17:34 +10:00 committed by GitHub
commit f1b7156c89
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -28,7 +28,7 @@ process_folder () {
for FILE in $FILES for FILE in $FILES
do do
echo "- ${FILE}" echo "- ${FILE}"
sed -E -i "$SED_REGEX" "$FILE" echo "$(sed -E "$SED_REGEX" "$FILE")" > $FILE
done done
# ensure the files are still owned by the npm user # ensure the files are still owned by the npm user