You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
uninstall-idle.sh: removes scripts from /home/<user>, but install uses the getent home #131
Problem:install-idle.sh L94 gets the home directory from getent passwd, and its comment says "NOT hardcoded /home" (root uses /root). With --install-user root, the scripts go to /root/.openclaw/workspace/, but the uninstaller tries /home/root/.... The files stay on disk, and the script still prints "scripts removed".
Fix: In the loop, get the home with h="$(getent passwd "$u" | cut -d: -f6)"; [[ -n "$h" ]] || continue, then remove "$h/.openclaw/workspace/idle-check.sh" and "$h/.openclaw/workspace/idle-check.py".
Found by a code read at commit 1e50295. The code was read, but not run on a real instance.
Activity