graysky2 / profile-sync-daemon

Symlinks and syncs browser profile dirs to RAM thus reducing HDD/SDD calls and speeding-up browsers.
https://wiki.archlinux.org/index.php/Profile-sync-daemon
Other
898 stars 84 forks source link

BACKUP_LIMIT="" setting not respected caused by a missing variable in the do_sync() function #350

Closed Stebs closed 1 year ago

Stebs commented 1 year ago

See discussion here: https://bbs.archlinux.org/viewtopic.php?pid=2080784#p2080784 glitsj16 provided a working patch: https://gist.github.com/glitsj16/dae447c058aa5e263fbacc1f68a7e0d5 Another cosmetic change in the default psd.conf:

BACKUP_LIMIT=5 should be changed to:

BACKUP_LIMIT="5"

Still unclear why I had more than 5 backups to begin with though (when i left the Backup_limit variable at default (uncommented)). Maybe "# The default is to save the most recent 5 crash recovery snapshots." is currently not true?