You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
tuntaposx: throw away stderr in post activate
to avoid kmutil output failing build on newer OSes
This commit is contained in:
@@ -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 "**********************************************************************"
|
||||
|
||||
Reference in New Issue
Block a user