commit 54448adf032c664f4caba357d34eec9e2d9cd408
parent 133b7558264fa029f96f4f5c5a33a6d83d914e23
author: nathanael <nathanael@dalliard.ch>
date: Sat, 1 Nov 2025 08:10:32 +0000
s0: fix bin backup
without the || true grep will exit with status 1 if nothing found
diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/s0/dotfiles/bin/backup b/s0/dotfiles/bin/backup
@@ -4,6 +4,6 @@ for host in s1 s2; do
$host:/home ~/backups/$host/
openrsync --exclude prv -a --del \
~/backups/$host/ w1:backups/$host/ 2>&1 |
- grep -v 'skipping excluded file'
+ grep -v 'skipping excluded file' || true
done
openrsync -a ~/backups/s0/ w1:backups/s0/