Fix typo
god dammit
This commit is contained in:
parent
9861f54c0f
commit
6da299c1df
@ -36,7 +36,7 @@ fi
|
||||
# WE MAKE BACKUP NOW SERGEI
|
||||
for dir in /home/*; do
|
||||
username="$(basename -- "$dir")"
|
||||
forcefile="$dir/.backup/forcemontly"
|
||||
forcefile="$dir/.backup/force"
|
||||
[ -d "$dir/.backup" ] || continue
|
||||
for file in "$dir/.backup/"*; do [ -e "$file" ] || continue; done
|
||||
tar czhf "$OUTDIR/desktop-$username-{{ inventory_hostname }}-$(date -Iseconds).tar.gz" "$dir/.backup/"*
|
||||
|
Loading…
Reference in New Issue
Block a user