From 4b9610afefe6bf1be7a30593646530819b353a7d Mon Sep 17 00:00:00 2001 From: Marco Amadori Date: Wed, 7 Jul 2010 11:39:12 +0200 Subject: [PATCH] Removing unreachable code in ethdevice argument handling (Closes: #588307). --- scripts/live | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/scripts/live b/scripts/live index 3a6094f..11ad984 100755 --- a/scripts/live +++ b/scripts/live @@ -88,12 +88,8 @@ Arguments () ethdevice=*) DEVICE="${ARGUMENT#ethdevice=}" - export DEVICE - ;; - - ethdevice=*) - ETHDEVICE="${ARGUMENT#ethdevice=}" - export ETHDEVICE + ETHDEVICE="${DEVICE}" + export DEVICE ETHDEVICE ;; ethdevice-timeout=*) -- 2.1.4