mktemp creates restricted files, we need to change permissions
This commit is contained in:
parent
012c77f2ed
commit
b60309a7e6
1 changed files with 1 additions and 0 deletions
|
@ -57,3 +57,4 @@ status=$(get_status_data)
|
||||||
printf '%s' "$status" >"$TMP_FILE"
|
printf '%s' "$status" >"$TMP_FILE"
|
||||||
printf '\n' >> "$TMP_FILE"
|
printf '\n' >> "$TMP_FILE"
|
||||||
mv "$TMP_FILE" "$PROM_FILE"
|
mv "$TMP_FILE" "$PROM_FILE"
|
||||||
|
chmod 0644 "$PROM_FILE"
|
||||||
|
|
Loading…
Reference in a new issue