Explicitly ignore some errors

This commit is contained in:
2025-06-28 21:25:58 -04:00
parent 362eb75dc4
commit dd622c59e2
5 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ func DeviceIDGen(oldDeviceID string) (string, string, error) {
cleanupOnFail := func() {
// remove new device ID file
os.RemoveAll(newDeviceIDPath)
_ = os.RemoveAll(newDeviceIDPath)
if oldDeviceID != global.FSMisc {
// restore old device ID file (if it existed and has already been removed due to DirInit)
if isAccessible, _ := back.TargetIsFile(oldDeviceIDPath, true); !isAccessible {