Update luci.argon

This commit is contained in:
Bard 2023-09-11 10:20:11 +08:00 committed by GitHub
parent 2a0a1ffa41
commit 744cf0e75f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -54,6 +54,7 @@ case "$1" in
fi
if mv "$tmp_path" "$bg_path/$newname" 2>"/dev/null"; then
chmod 0644 "$bg_path/$newname"
echo '{ "result": 0 }'
else
echo '{ "result": 1 }'