update restic script

This commit is contained in:
tolerryan
2024-12-30 00:51:26 -06:00
parent a096efd1be
commit b77ab6366a
3 changed files with 6 additions and 13 deletions

View File

@@ -45,7 +45,7 @@
dest: /home/restic/restic.sh
content: |
#!/bin/bash
cd /home/restic/
# Check if a flag was passed
if [[ "$#" -lt 2 ]]; then
echo "Usage: $0 [--backup] [--forget] [--check] [--init] dirtobackup"