Fix an error propagation bug in tests/tun_interface.cpp
am: 635b3efc58

Change-Id: I15c1590b7f680da6c02fc6515cd27406968ff76e