diff options
Diffstat (limited to 'sysconfig/network-scripts')
-rwxr-xr-x | sysconfig/network-scripts/ifup | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/ifup b/sysconfig/network-scripts/ifup index 072b03f6..1d5a9e63 100755 --- a/sysconfig/network-scripts/ifup +++ b/sysconfig/network-scripts/ifup @@ -69,7 +69,7 @@ if [ "$_use_nm" = "true" -a -n "$UUID" ]; then if [ "foo$2" = "fooboot" ] && [ "${TYPE}" = "Wireless" ]; then exit 0 fi - is_nm_handling ${DEVICE} && exit 0 + [ -n "${DEVICE}" ] && is_nm_handling ${DEVICE} && exit 0 nmcli con up uuid "$UUID" exit $? fi |