summaryrefslogtreecommitdiff
path: root/archey.new
diff options
context:
space:
mode:
Diffstat (limited to 'archey.new')
-rw-r--r--archey.new2
1 files changed, 2 insertions, 0 deletions
diff --git a/archey.new b/archey.new
index 1a7ced6..70a40b3 100644
--- a/archey.new
+++ b/archey.new
@@ -116,6 +116,8 @@ class Output:
def __detectDistro(self):
if os.path.exists('/etc/pacman.conf'):
return 'Arch Linux'
+ else:
+ sys.exit(1)
def append(self, display):
self.results.append('%s%s: %s%s' % (colorDict[self.distro][1], display.key, colorDict['Clear'][0], display.value))