From 48601ee943eeea0dc1aa8b201ccb263a82b43da0 Mon Sep 17 00:00:00 2001 From: oliver Date: Fri, 14 Aug 2026 11:09:30 -0300 Subject: [PATCH] Update checkFilestore --- app/sbin/checkFilestore | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/sbin/checkFilestore b/app/sbin/checkFilestore index 7670187..7301056 100755 --- a/app/sbin/checkFilestore +++ b/app/sbin/checkFilestore @@ -26,10 +26,10 @@ echo "Docker mapped to : ${MOUNT_HOST:-}" echo "Hashing container filestore..." MD5_CONTAINER=$(doas docker exec "$UUID" sh -c \ - "find $FILESTORE_CONTAINER -type f | sort | xargs md5sum 2>/dev/null" | md5sum | cut -d' ' -f1) + "find $FILESTORE_CONTAINER -type f | sort | xargs md5sum 2>/dev/null | awk '{print \$1}'" | md5sum | cut -d' ' -f1) echo "Hashing host filestore..." -MD5_HOST=$(find "$FILESTORE_HOST" -type f | sort | xargs md5sum 2>/dev/null | md5sum | cut -d' ' -f1) +MD5_HOST=$(find "$FILESTORE_HOST" -type f | sort | xargs md5sum 2>/dev/null | awk '{print $1}' | md5sum | cut -d' ' -f1) echo "Container : $MD5_CONTAINER" echo "Host : $MD5_HOST"