forked from TrueCloudLab/restic
selectFunc: handle nil
This commit is contained in:
parent
c5bc802ff0
commit
51322a1055
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue