polkit service work

This commit is contained in:
2025-12-11 13:49:32 -05:00
parent 1bc4df63c5
commit b7080dcb45

View File

@@ -38,7 +38,7 @@ with lib;
UNIT="update-system.service"
# Start following logs in the background
journalctl -fu "$UNIT" --output=cat &
journalctl -fu "$UNIT" -n 0 --output=cat &
JPID=$!
# Start the service and wait for it to finish
@@ -48,6 +48,8 @@ with lib;
STATUS=$?
fi
sleep 2
# Kill the log follower
kill "$JPID" 2>/dev/null || true