openclaw: let stderr through on agents add failure
This commit is contained in:
parent
6c78886ec9
commit
27afa03c64
1 changed files with 1 additions and 1 deletions
|
|
@ -360,7 +360,7 @@ install_openclaw() {
|
||||||
cp "$d/IDENTITY.md" "$dest/$name/IDENTITY.md"
|
cp "$d/IDENTITY.md" "$dest/$name/IDENTITY.md"
|
||||||
# Register with OpenClaw so agents are usable by agentId immediately
|
# Register with OpenClaw so agents are usable by agentId immediately
|
||||||
if command -v openclaw >/dev/null 2>&1; then
|
if command -v openclaw >/dev/null 2>&1; then
|
||||||
openclaw agents add "$name" --workspace "$dest/$name" --non-interactive 2>/dev/null || true
|
openclaw agents add "$name" --workspace "$dest/$name" --non-interactive || true
|
||||||
fi
|
fi
|
||||||
(( count++ )) || true
|
(( count++ )) || true
|
||||||
done < <(find "$src" -mindepth 1 -maxdepth 1 -type d -print0)
|
done < <(find "$src" -mindepth 1 -maxdepth 1 -type d -print0)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue