Skip to content

Conversation

liulinC
Copy link
Contributor

@liulinC liulinC commented Sep 4, 2025

systemd has changed its output for command as folllows /usr/bin/systemctl list-units SMGC@*
============>
[email protected]
[email protected]

[email protected]
[email protected]
<============

Note: the extra space before the valid service name This means cut -d' ' -f1 can no longer parse the service name. awk is used rather that cut to fix the issue

systemd has changed its output for command as folllows
/usr/bin/systemctl list-units SMGC@*
============>
[email protected]
[email protected]
============
  [email protected]
  [email protected]
<============

Note: the extra space before the valid service name
This means `cut -d' ' -f1` can no longer parse the service name.
`awk` is used rather that `cut` to fix the issue

Signed-off-by: Lin Liu <[email protected]>
@TimSmithCtx TimSmithCtx merged commit 517cf37 into xapi-project:master Sep 5, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants