mirror of
https://github.com/postmannen/ctrl.git
synced 2024-12-14 12:37:31 +00:00
cleaned up os.Remove log
This commit is contained in:
parent
ae6058d0af
commit
a77d1ad562
1 changed files with 1 additions and 1 deletions
|
@ -932,7 +932,7 @@ func copyDstSubProcFunc(proc process, cia copyInitialData, message Message, canc
|
|||
|
||||
// Remove the backup file.
|
||||
err = os.Remove(backupOriginalFileName)
|
||||
if err != nil {
|
||||
if err != nil && !os.IsNotExist(err) {
|
||||
er := fmt.Errorf("error: copyDstSubProcFunc: remove of backup of original file failed: %v", err)
|
||||
proc.errorKernel.errSend(proc, message, er)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue