summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDjMelik <melik@archlinux.us>2010-11-17 02:21:16 -0800
committerDjMelik <melik@archlinux.us>2010-11-17 02:21:16 -0800
commit09fd5756757379e22d0bbb69389d3f05a4d3aeb3 (patch)
tree9f6c24d375819f97e5b6646cdcc6a796bb463efc
parent2448c9325e51e51b8af5f7d7c669fcf7aa9d8947 (diff)
parent8a07fa2bb91677a4650df39441539be798986f5e (diff)
Merge branch 'master' of github.com:djmelik/archey
-rw-r--r--archey.new2
1 files changed, 2 insertions, 0 deletions
diff --git a/archey.new b/archey.new
index 373d3b2..16e945d 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))