mirror of
https://github.com/restic/restic.git
synced 2025-08-25 01:59:21 +00:00
selectFunc: handle nil
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user