This commit is contained in:
LeonSGP 2026-04-24 17:29:53 -05:00 committed by GitHub
commit e18b3d42da
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 28 additions and 1 deletions

View file

@ -541,7 +541,7 @@ def _cmd_cleanup(args):
)
print_info("Stop OpenClaw first: systemctl --user stop openclaw-gateway.service")
print()
if not auto_yes:
if not auto_yes and not dry_run:
if not sys.stdin.isatty():
print_info("Non-interactive session — aborting. Stop OpenClaw and re-run.")
return