OK. Maybe the man page should note that it never returns an error
# ifdown $RANDOM; echo $?
ifdown: interface 25627 not configured
0
~# ifup $RANDOM; echo $?
Ignoring unknown interface 19105=19105.
0
so one cannot use $? to test for success.

Reply via email to