From e5ad52774bd65b1fbe16527b296d2b37c7667fa2 Mon Sep 17 00:00:00 2001 From: "Daniel (Fourdee)" Date: Mon, 20 Aug 2018 22:28:49 +0100 Subject: [PATCH] v6.14 + minor --- dietpi/func/obtain_network_details | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dietpi/func/obtain_network_details b/dietpi/func/obtain_network_details index 88cbc9801e..67c1651ddc 100644 --- a/dietpi/func/obtain_network_details +++ b/dietpi/func/obtain_network_details @@ -58,7 +58,7 @@ ETH_INDEX=$i ETH_IP=${ETH_IP#*inet* } ETH_IP=${ETH_IP%%/*} - if [[ -n $ETH_IP ]]; then + if [[ $ETH_IP ]]; then ACTIVE_DEVICE='eth'$ETH_INDEX IP_ADDRESS=$ETH_IP