mirror of https://github.com/borgbackup/borg.git
Merge pull request #784 from pyhalov/doors-1.0
Don't try to backup doors or event ports (Solaris and derivates).
This commit is contained in:
commit
e435a5ac41
|
@ -281,6 +281,12 @@ class Archiver:
|
||||||
elif stat.S_ISSOCK(st.st_mode):
|
elif stat.S_ISSOCK(st.st_mode):
|
||||||
# Ignore unix sockets
|
# Ignore unix sockets
|
||||||
return
|
return
|
||||||
|
elif stat.S_ISDOOR(st.st_mode):
|
||||||
|
# Ignore Solaris doors
|
||||||
|
return
|
||||||
|
elif stat.S_ISPORT(st.st_mode):
|
||||||
|
# Ignore Solaris event ports
|
||||||
|
return
|
||||||
else:
|
else:
|
||||||
self.print_warning('Unknown file type: %s', path)
|
self.print_warning('Unknown file type: %s', path)
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in New Issue