fix a case when "ip r" command fails
fix a case when "ip r" command fails

our network manager script isn't the beauty of the code base.
However, this fixes a case where it would crash the reader when an
external command fails.

fixes #1279.

poire-z/koreader,chihyang/koreader,lgeek/koreader,Frenzie/koreader,Hzj-jie/koreader,mihailim/koreader,apletnev/koreader,robert00s/koreader,koreader/koreader,houqp/koreader,pazos/koreader,ashhher3/koreader,mwoz123/koreader,NiLuJe/koreader,frankyifei/koreader,Frenzie/koreader,koreader/koreader,chrox/koreader,Markismus/koreader,NickSavage/koreader,NiLuJe/koreader,ashang/koreader,noname007/koreader,poire-z/koreader