summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--archey.new2
1 files changed, 1 insertions, 1 deletions
diff --git a/archey.new b/archey.new
index 5d2b25f..edae67e 100644
--- a/archey.new
+++ b/archey.new
@@ -460,7 +460,7 @@ class FileSystem(BaseDisplay):
def get_key(self):
path = self.arguments[0]
- name = path.split('/')[-1]
+ name = path.split('/')[-1] or 'Root'
return '{0} FS'.format(name.capitalize())
def process_output(self, stdout, stderr):