yubikey icon indicating copy to clipboard operation
yubikey copied to clipboard

No restore point for script failure

Open pratikgs-dd opened this issue 6 years ago • 1 comments

the utility scripts overwrites existing files and configuration as it executes each instruction. In case the script fails for some reason, all the modified files are left as it is, which sometimes corrupts the existing configuration.

It will be useful if the script backup relevant files and restore them in case of error.

pratikgs-dd avatar Nov 20 '19 20:11 pratikgs-dd

i can take a shot at this one...

andrewwatson avatar Sep 21 '20 16:09 andrewwatson