Unverified Commit c9ea0e7e authored by Shawn Webb's avatar Shawn Webb
Browse files

Remove debug messages and keep silent


Signed-off-by: Shawn Webb's avatarShawn Webb <shawn.webb@hardenedbsd.org>
parent 1e309ab1
......@@ -60,12 +60,10 @@ main() {
cleanup_set_dynamic
HBSD_LOCKFILE="${HBSD_LOCKFILE}.cleanup"
(
assert_unlocked && \
lock_build && \
prune_old_builds && \
unlock_build
) | build_log 2>&1
return ${?}
}
......
......@@ -67,6 +67,5 @@ cleanup_set_dynamic() {
HBSD_BUILDNUMBER=$(readlink ${HBSD_PUBDIR}/BUILD-LATEST)
HBSD_BUILDNUMBER=${HBSD_BUILDNUMBER##*-}
echo "[*] Build number: ${HBSD_BUILDNUMBER}"
return 0
}
......@@ -120,7 +120,6 @@ prune_old_builds() {
for d in $(find ${HBSD_PUBDIR} -maxdepth 1 -type d | sed 1d); do
n=$(basename ${d})
if [ ${n} -lt ${floor} ]; then
echo "[*] Removing ${d}"
rm -rf ${d}
fi
done
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment