mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2025-01-22 16:44:32 +01:00
Use = rather than == for expressions to test(1) builtin(1) in sh(1) to
comply with standards. On modern branches there is an undocumented alias (see r219084) but on stable/7 this is still an error. Sponsored by: Cisco Systems, Inc. MFC after: 3 days
This commit is contained in:
parent
811772950f
commit
2460e894e3
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=232609
@ -410,7 +410,7 @@ testtx_ulp6_connected()
|
||||
*) _f="SETFIB" ;;
|
||||
esac
|
||||
|
||||
if test "${_o}" == "-i" -a "${_f}" == "SO_SETFIB"; then
|
||||
if test "${_o}" = "-i" -a "${_f}" = "SO_SETFIB"; then
|
||||
print_debug "Skipping icmp6 tests for SO_SETFIB."
|
||||
return 0
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user