openclaw: let stderr through on agents add failure
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user