mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
remove use of cat for map-backhaul file
This commit is contained in:
parent
95bd27f079
commit
8e5bbbd37f
1 changed files with 1 additions and 1 deletions
|
|
@ -63,7 +63,7 @@ else
|
|||
[ $dhcp -eq 1 ] || exit 0
|
||||
else
|
||||
[ -f $map_bh_file ] || exit 0
|
||||
cur_bh="$(cat $map_bh_file | jsonfilter -e @.ifname)"
|
||||
cur_bh="$(jsonfilter -e @.ifname < "$map_bh_file" 2>/dev/null)" || exit 0
|
||||
[ "$cur_bh" = "$PORT" ] || exit 0
|
||||
fi
|
||||
########################################################
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue