mirror of
https://github.com/restic/restic.git
synced 2026-11-01 21:15:33 +00:00
selectFunc: handle nil
This commit is contained in:
1 parent
c5bc802ff0
commit
51322a1055
1 file changed
+1
-1
@@ -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