logic fix
This commit is contained in:
parent
9ea8a2d8e8
commit
b89c217e68
1 changed files with 1 additions and 1 deletions
|
@ -140,7 +140,7 @@ def get_os_info():
|
||||||
# our last chance, ask uname and strip it
|
# our last chance, ask uname and strip it
|
||||||
uname_output = helpers.get_output_of_command('uname -a | cut -d" " -f1,3')
|
uname_output = helpers.get_output_of_command('uname -a | cut -d" " -f1,3')
|
||||||
if uname_output is not None:
|
if uname_output is not None:
|
||||||
return uname_output
|
return uname_output[0] # only first line
|
||||||
return 'N/A'
|
return 'N/A'
|
||||||
|
|
||||||
class Connection:
|
class Connection:
|
||||||
|
|
Loading…
Add table
Reference in a new issue