mirror of
https://github.com/restic/restic.git
synced 2025-08-22 13:17:48 +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