Badal commited on
Commit ·
6c5f0a6
1
Parent(s): b1e7a02
Debug sync - show result codes
Browse files- entrypoint.sh +5 -2
entrypoint.sh
CHANGED
|
@@ -49,7 +49,10 @@ while true; do
|
|
| 49 |
exit 1
|
| 50 |
fi
|
| 51 |
|
| 52 |
-
# Real-time continuous sync (
|
| 53 |
-
|
|
|
|
|
|
|
|
|
|
| 54 |
sleep 1
|
| 55 |
done
|
|
|
|
| 49 |
exit 1
|
| 50 |
fi
|
| 51 |
|
| 52 |
+
# Real-time continuous sync (with debug output)
|
| 53 |
+
echo "Sync: $(date)"
|
| 54 |
+
hf sync "$SOURCE" "$BUCKET" --delete
|
| 55 |
+
RESULT=$?
|
| 56 |
+
echo "Sync done - Result: $RESULT"
|
| 57 |
sleep 1
|
| 58 |
done
|