From 4021527228332d9fca1abeffd8a5f2170ca9f488 Mon Sep 17 00:00:00 2001 From: Lawrence Lee Date: Thu, 6 Jun 2024 00:22:43 +0000 Subject: [PATCH] used parent script PID for logger calls Signed-off-by: Lawrence Lee --- files/scripts/arp_update | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/scripts/arp_update b/files/scripts/arp_update index 5b2b6989ee4b..73a454ea2acd 100755 --- a/files/scripts/arp_update +++ b/files/scripts/arp_update @@ -11,7 +11,7 @@ ARP_UPDATE_VARS_FILE="/usr/share/sonic/templates/arp_update_vars.j2" # Overload `logger` command to include arp_update tag logger () { - command logger -t "arp_update" "$@" + command logger -i "$$" -t "arp_update" "$@" } while /bin/true; do