1
0
mirror of https://github.com/gryf/wicd.git synced 2025-12-20 04:48:00 +01:00

Fix version check to correctly handle linux3

This commit is contained in:
David Paleino
2011-11-02 22:17:09 +01:00
parent 2ab749cbc2
commit 69dfd4315f

View File

@@ -438,7 +438,7 @@ def to_unicode(x):
def RenameProcess(new_name): def RenameProcess(new_name):
""" Renames the process calling the function to the given name. """ """ Renames the process calling the function to the given name. """
if sys.platform != 'linux2': if 'linux' not in sys.platform:
print 'Unsupported platform' print 'Unsupported platform'
return False return False
try: try: