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
}
if !opts.ExcludeOtherFS {
if !opts.ExcludeOtherFS || fi == nil {
return true
}