Skip to content

Commit f2a8ae9

Browse files
committed
Hardening
1 parent a82dc8b commit f2a8ae9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/generate-redirector-config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ jobs:
300300
if curl --output /dev/null --silent --head --fail "https://${SERVER_URL}"; then
301301
timeout 5m lftp -e "mirror --include-glob=*/archive/*.torrent --parallel=64; exit" https://${SERVER_URL} || exit_status=$?
302302
cd ..
303-
find source/*/archive/ -mindepth 1 -maxdepth 1 -exec mv -i -- {} compare/ \;
303+
find source/*/archive/ -mindepth 1 -maxdepth 1 -exec mv -i -- {} compare/ \; || true
304304
fi
305305
OUT=$(diff -rq compare dl || true)
306306
mkdir -p status
@@ -360,7 +360,7 @@ jobs:
360360
if curl --output /dev/null --silent --head --fail "https://${SERVER_URL}"; then
361361
timeout 5m lftp -e "mirror --include-glob=*/archive/*.torrent --parallel=64; exit" https://${SERVER_URL} || exit_status=$?
362362
cd ..
363-
find source/*/archive/ -mindepth 1 -maxdepth 1 -exec mv -i -- {} compare/ \;
363+
find source/*/archive/ -mindepth 1 -maxdepth 1 -exec mv -i -- {} compare/ \; || true
364364
fi
365365
OUT=$(diff -rq compare archive || true)
366366
mkdir -p status

0 commit comments

Comments
 (0)