mirror of
https://github.com/restic/restic.git
synced 2026-08-09 07:03:17 +00:00
Remove redundant if ...; err != nil; return pattern
This commit is contained in:
+1
-5
@@ -63,11 +63,7 @@ directories in an encrypted repository stored on different backends.
|
||||
|
||||
// run the debug functions for all subcommands (if build tag "debug" is
|
||||
// enabled)
|
||||
if err := runDebug(); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
return nil
|
||||
return runDebug()
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user