index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Anton Hvornum <anton.feeds+github@gmail.com> | 2020-09-01 14:52:59 +0200 |
---|---|---|
committer | Anton Hvornum <anton.feeds+github@gmail.com> | 2020-09-01 14:52:59 +0200 |
commit | 4dcafa7ec87f021af109209d27a51ac4c9efb0db (patch) | |
tree | de2a1df45a481df6b5c6b4b58cff031b48b8f391 /archinstall/lib/services.py | |
parent | 8494014c3bc437984f6573bfc0281bc5a7351cda (diff) |
-rw-r--r-- | archinstall/lib/services.py | 2 |
diff --git a/archinstall/lib/services.py b/archinstall/lib/services.py index 048c4879..43051f0f 100644 --- a/archinstall/lib/services.py +++ b/archinstall/lib/services.py @@ -9,5 +9,5 @@ def service_state(service_name :str): state = b''.join(sys_command(f'systemctl show -p SubState --value {service_name}')) - return state.decode('UTF-8') + return state.strip().decode('UTF-8')
\ No newline at end of file |