aboutsummaryrefslogtreecommitdiff
path: root/nxcomp
diff options
context:
space:
mode:
authorOleksandr Shneyder <o.shneyder@phoca-gmbh.de>2015-02-10 19:46:04 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2015-02-10 19:46:04 +0100
commit46c2aebca5196ad4c10bb4f6f2558d656c22f5d9 (patch)
tree0c61e9de93714f4ccf6f20d98b72e4e7472eb5e1 /nxcomp
parent8c1b852abf692af4898368132292eb8c7278a7c2 (diff)
downloadnx-libs-46c2aebca5196ad4c10bb4f6f2558d656c22f5d9.tar.gz
nx-libs-46c2aebca5196ad4c10bb4f6f2558d656c22f5d9.tar.bz2
nx-libs-46c2aebca5196ad4c10bb4f6f2558d656c22f5d9.zip
Set default pack and link options to avoid damage of session (211_nxcomp_set_default_options.full+lite.patch).
Diffstat (limited to 'nxcomp')
-rw-r--r--nxcomp/Loop.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/nxcomp/Loop.cpp b/nxcomp/Loop.cpp
index 12a858b0f..d5c8eb25d 100644
--- a/nxcomp/Loop.cpp
+++ b/nxcomp/Loop.cpp
@@ -8328,8 +8328,8 @@ int ParseEnvironmentOptions(const char *env, int force)
cerr << "Error" << ": Can't identify 'link' option in string '"
<< value << "'.\n";
-
- return -1;
+ if (ParseLinkOption("adsl") < 0)
+ return -1;
}
}
else if (strcasecmp(name, "limit") == 0)
@@ -8783,8 +8783,8 @@ int ParseEnvironmentOptions(const char *env, int force)
cerr << "Error" << ": Can't identify pack method for string '"
<< value << "'.\n";
-
- return -1;
+ if (ParsePackOption("nopack")<0)
+ return -1;
}
}
else if (strcasecmp(name, "core") == 0)