tuntaposx: throw away stderr in post activate

to avoid kmutil output failing build on newer OSes
This commit is contained in:
i0ntempest
2024-01-29 14:13:04 -05:00
parent e3f59d97e8
commit 8ea56c451e
+2 -2
View File
@@ -80,8 +80,8 @@ post-destroot {
}
post-activate {
set tap_loaded [expr [string length [exec kextstat -lb foo.tap]] > 0]
set tun_loaded [expr [string length [exec kextstat -lb foo.tun]] > 0]
set tap_loaded [expr [string length [exec kextstat -lb foo.tap 2>/dev/null]] > 0]
set tun_loaded [expr [string length [exec kextstat -lb foo.tun 2>/dev/null]] > 0]
if {${tap_loaded} || ${tun_loaded}} {
ui_msg "**********************************************************************"