mirror of
https://github.com/octoleo/restic.git
synced 2024-11-26 23:06:32 +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
|
||||
}
|
||||
|
||||
if !opts.ExcludeOtherFS {
|
||||
if !opts.ExcludeOtherFS || fi == nil {
|
||||
return true
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user