summaryrefslogtreecommitdiff
path: root/obnamlib/plugins/show_plugin.py
diff options
context:
space:
mode:
Diffstat (limited to 'obnamlib/plugins/show_plugin.py')
-rw-r--r--obnamlib/plugins/show_plugin.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/obnamlib/plugins/show_plugin.py b/obnamlib/plugins/show_plugin.py
index 2e942f03..4b97ea82 100644
--- a/obnamlib/plugins/show_plugin.py
+++ b/obnamlib/plugins/show_plugin.py
@@ -287,8 +287,13 @@ class ShowPlugin(obnamlib.ObnamPlugin):
mode_str = "BlockDev\t"
elif stat.S_ISCHR(mode):
mode_str = "CharDev\t"
+ elif stat.S_ISFIFO(mode):
+ mode_str = "FIFO"
elif stat.S_ISSOCK(mode):
mode_str = "Socket\t"
+ else:
+ # Unhandled, make it look like a comment
+ mode_str = "#UNHANDLED\t"
enc_filename = filename.replace("%", "%25")
enc_filename = enc_filename.replace(" ", "%20")