From 44e9c7780ff075414c671f6e3dc98527f00e73a7 Mon Sep 17 00:00:00 2001 From: Matt Darfeuille Date: Mon, 19 Dec 2016 08:51:30 +0100 Subject: [PATCH] init: Don't set the 'file' var needlessly Signed-off-by: Matt Darfeuille Signed-off-by: Tom Eastep --- Shorewall-init/install.sh | 2 -- 1 file changed, 2 deletions(-) diff --git a/Shorewall-init/install.sh b/Shorewall-init/install.sh index 4749c0258..4eae2868e 100755 --- a/Shorewall-init/install.sh +++ b/Shorewall-init/install.sh @@ -164,10 +164,8 @@ if [ $# -eq 0 ]; then # if [ -f ./shorewallrc ]; then . ./shorewallrc || exit 1 - file=./shorewallrc elif [ -f ~/.shorewallrc ]; then . ~/.shorewallrc || exit 1 - file=~/.shorewallrc else fatal_error "No configuration file specified and ~/.shorewallrc not found" fi