summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjoern Tropf <asym@gentoo.org>2009-12-14 12:42:36 +0100
committerBjoern Tropf <asym@gentoo.org>2009-12-14 12:42:36 +0100
commited563a0c7c45c3014e1888c59a0b77f209864e8b (patch)
treeb59b0fc98509dc3770f419cb14fd37de569134f5
parentImplement -k/--kernel $(uname -r) (diff)
downloadkernel-check-ed563a0c7c45c3014e1888c59a0b77f209864e8b.tar.gz
kernel-check-ed563a0c7c45c3014e1888c59a0b77f209864e8b.tar.bz2
kernel-check-ed563a0c7c45c3014e1888c59a0b77f209864e8b.zip
Fix small bug
-rwxr-xr-xpym/kernelcheck/kernelcheck.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/kernelcheck/kernelcheck.py b/pym/kernelcheck/kernelcheck.py
index bacbdbc..ce9d112 100755
--- a/pym/kernelcheck/kernelcheck.py
+++ b/pym/kernelcheck/kernelcheck.py
@@ -78,7 +78,7 @@ def main(argv):
print(darkgreen('\nThese are the specifications of your kernel:'))
arch = portage.settings['ARCH']
- if arch:
+ if not arch:
kernel.arch = '?'
else:
kernel.arch = arch