2
2
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:
Alexander Neumann 2016-11-05 12:37:54 +01:00
parent c5bc802ff0
commit 51322a1055

View File

@ -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
} }