mirror of
https://github.com/restic/restic.git
synced 2026-04-23 13:19:26 +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
|
||||
}
|
||||
|
||||
if !opts.ExcludeOtherFS {
|
||||
if !opts.ExcludeOtherFS || fi == nil {
|
||||
return true
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user