summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/network1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/network b/src/network
index e55647c..e1a57a2 100644
--- a/src/network
+++ b/src/network
@@ -6,6 +6,7 @@
# $1: profile name
load_profile()
{
+ unset ROUTES
[[ -z "$1" ]] && return 1
if [[ ! -f "$PROFILE_DIR/$1" ]]; then
report_err "Profile \"$1\" does not exist"