Explicitly ignore some errors

This commit is contained in:
RandyTheSilly committed 2025-06-28 21:25:58 -04:00
1 parent 362eb75dc4
commit dd622c59e2
5 files changed
+7 -7

No files matched your search

+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 {