Commit 0119c848 authored by Seblu's avatar Seblu

checkservice: parse systemd-245 list-units output

parent f6cd4fd6
Pipeline #275 passed with stages
in 5 minutes and 15 seconds
......@@ -9,7 +9,7 @@ arch=('any')
depends=('python' 'bash' 'zsh' 'file' 'grep' 'pyalpm' 'python-pyelftools'
depends=('python' 'bash' 'zsh' 'file' 'grep' 'gawk' 'pyalpm' 'python-pyelftools'
'python-pygments' 'pacman-contrib')
provides=('archutils' 'kernel-reinstall')
......@@ -90,7 +90,7 @@ confirm() {
# get running systemd services
get_services() {
systemctl --no-legend --full --type service --state running|cut -f1 -d' '
systemctl list-units --no-legend --plain --full --type service --state running|awk '{print $1}'
# get systemd services with updated mapped files
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment