Skip to content

Commit 7e3e1d3

Browse files
theasianpianistarun1355492
authored andcommitted
used parent script PID for logger calls (sonic-net#19219)
[arp_update]: Use parent script PID for logger calls Signed-off-by: Lawrence Lee <[email protected]>
1 parent b281788 commit 7e3e1d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

files/scripts/arp_update

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ ARP_UPDATE_VARS_FILE="/usr/share/sonic/templates/arp_update_vars.j2"
1111

1212
# Overload `logger` command to include arp_update tag
1313
logger () {
14-
command logger -t "arp_update" "$@"
14+
command logger -i "$$" -t "arp_update" "$@"
1515
}
1616

1717
while /bin/true; do

0 commit comments

Comments
 (0)