From 62ca1552a86660cc1ba6bb8f904276b1c80123ca Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Mon, 29 Dec 2025 16:10:33 +0100 Subject: [PATCH] fix cleanup &>/dev/null --- misc/core.func | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/misc/core.func b/misc/core.func index acad36016..3521bf170 100644 --- a/misc/core.func +++ b/misc/core.func @@ -821,9 +821,9 @@ cleanup_lxc() { rm -rf /root/.npm/_cacache /root/.npm/_logs 2>/dev/null || true fi # Node.js yarn - if command -v yarn &>/dev/null; then $STD yarn cache clean || true; fi + if command -v yarn &>/dev/null; then yarn cache clean &>/dev/null || true; fi # Node.js pnpm - if command -v pnpm &>/dev/null; then $STD pnpm store prune || true; fi + if command -v pnpm &>/dev/null; then pnpm store prune &>/dev/null || true; fi # Go if command -v go &>/dev/null; then $STD go clean -cache -modcache || true; fi # Rust cargo