Quiet systemctl output for uninstall()

此提交包含在:
2025-04-24 20:09:18 -04:00
父節點 198076e41f
當前提交 e6f0c91eca

查看文件

@@ -1563,7 +1563,7 @@ uninstall() {
set_service_vars "$service" "$type";
for unit in "$SERVICE_NAME" "$TIMER_NAME"; do
if "${IS_ACTIVE[@]}" "$unit" ||
"${IS_ENABLED[@]}" "$unit"; then
"${IS_ENABLED[@]}" "$unit" &>/dev/null; then
"${DISABLE[@]}" "$unit"
fi
done