mirror of
https://github.com/octoleo/restic.git
synced 2024-11-04 20:37:49 +00:00
selectFunc: handle nil
This commit is contained in:
parent
c5bc802ff0
commit
51322a1055
@ -359,7 +359,7 @@ func runBackup(opts BackupOptions, gopts GlobalOptions, args []string) error {
|
|||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
|
||||||
if !opts.ExcludeOtherFS {
|
if !opts.ExcludeOtherFS || fi == nil {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user