Skip to content

Commit

Permalink
Dont rotate backups
Browse files Browse the repository at this point in the history
  • Loading branch information
mergwyn committed Jan 25, 2024
1 parent 1bc5804 commit 7c1fec6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion site-modules/profile/files/backuppc/S40zfs_props
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ rotate() {
else
rc=1
[ -n "$show_diff" ] && diff "${file}.bak" "${file}.tmp"
mv "${file}.bak" "${file}.bak2" || rc=3
# TODO parameterise? mv "${file}.bak" "${file}.bak2" || rc=3
mv "${file}.tmp" "${file}.bak" || rc=3
fi
else
Expand Down

0 comments on commit 7c1fec6

Please sign in to comment.