diff options
Diffstat (limited to 'net-scripts/net.modules.d/pump')
-rw-r--r-- | net-scripts/net.modules.d/pump | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net-scripts/net.modules.d/pump b/net-scripts/net.modules.d/pump index a4e8c35..f50a695 100644 --- a/net-scripts/net.modules.d/pump +++ b/net-scripts/net.modules.d/pump @@ -58,7 +58,7 @@ pump_stop() { # Returns 0 (true) when a dhcp address is obtained, otherwise # the return value from pump pump_start() { - local iface="$1" opts d ifvar=$( bash_variable "$1" ) search + local iface="$1" opts d ifvar="$(bash_variable "$1")" search interface_exists "${iface}" true || return 1 @@ -92,7 +92,7 @@ pump_start() { eend $? || return $? # pump succeeded, show address retrieved - local addr=$( interface_get_address "${iface}" ) + local addr="$(interface_get_address "${iface}")" einfo "${iface} received address ${addr}" return 0 |