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:
@@ -438,7 +438,7 @@ def to_unicode(x):
|
||||
|
||||
def RenameProcess(new_name):
|
||||
""" Renames the process calling the function to the given name. """
|
||||
if sys.platform != 'linux2':
|
||||
if 'linux' not in sys.platform:
|
||||
print 'Unsupported platform'
|
||||
return False
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user