summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xLibrary/firmware.sh4
1 files changed, 0 insertions, 4 deletions
diff --git a/Library/firmware.sh b/Library/firmware.sh
index c01c23e..f7479ba 100755
--- a/Library/firmware.sh
+++ b/Library/firmware.sh
@@ -50,8 +50,6 @@ EOF
}
# }}}
-before=$(stat -c '%i-%Y' "${status}")
-
output=$(mktemp "${data}"/status-tmp.XXXXXX)
chmod 644 "${output}"
xxxxxx=${output##*/status-tmp.}
@@ -145,8 +143,6 @@ rm -f "${data}"/status-tmp.!("${xxxxxx}")
} >"${output}"
-# XXX: this is a poor replacement for flock
-test "${before}" = "$(stat -c '%i-%Y' "${status}")"
mv -f "${output}" "${status}"
if [[ ${cpu} == arm || ${cpu} == arm64 ]]; then