diff options
Diffstat (limited to 'roles/dnf_automatic/files/usr/local/sbin')
-rw-r--r-- | roles/dnf_automatic/files/usr/local/sbin/dnf-auto-restart | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/dnf_automatic/files/usr/local/sbin/dnf-auto-restart b/roles/dnf_automatic/files/usr/local/sbin/dnf-auto-restart index 76cc2d4..530a860 100644 --- a/roles/dnf_automatic/files/usr/local/sbin/dnf-auto-restart +++ b/roles/dnf_automatic/files/usr/local/sbin/dnf-auto-restart @@ -13,7 +13,7 @@ SERVICES=() dnf needs-restarting --services | while read -r service; do if [[ $service = user@* ]]; then continue - elif [ "$(systemctl show "$service" -P RefuseManualStop)" = yes ]; then + elif [ "$(systemctl show "$service" --property RefuseManualStop --value)" = yes ]; then continue else SERVICES+=("$service") |