spell short correctly
Signed-off-by: Xe Iaso <me@christine.website>
This commit is contained in:
parent
1de35c673c
commit
90c9fd1cde
2
main.py
2
main.py
|
@ -12,7 +12,7 @@ class Plugin:
|
|||
return result.stdout.parse().split(": ")[1]
|
||||
|
||||
async def install_state(self, *args):
|
||||
sysext = subprocess.run(["/usr/bin/systemd-sysext", "list", "--json=shot"])
|
||||
sysext = subprocess.run(["/usr/bin/systemd-sysext", "list", "--json=short"])
|
||||
sysexts = json.load(sysext.stdout)
|
||||
for hier in sysexts:
|
||||
if hier.hierarchy != "/usr":
|
||||
|
|
Loading…
Reference in New Issue