From 71fabcb56800205b55e8a658edfb29b5052ff461 Mon Sep 17 00:00:00 2001 From: Maria Lisina Date: Thu, 22 May 2025 01:25:34 +0500 Subject: units/ib_name: Fix getting post ID Signed-off-by: Maria Lisina --- units/ib_name.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/units/ib_name.zsh b/units/ib_name.zsh index 215b9cf..c121a3b 100644 --- a/units/ib_name.zsh +++ b/units/ib_name.zsh @@ -16,7 +16,7 @@ then if [[ "${reply_text}" != "null" ]] then ib_reply_name="$(printf "%s" "${reply_text}" | sed '1!d')" - ib_post_id="$(printf "%s" "${reply_text}" | grep 'ID' | parameter 2)" + ib_post_id="$(printf "%s" "${reply_text}" | sed '2!d' | parameter 2)" for ib_board in ${board_table[@]} do -- cgit v1.2.3