Fixed bug #830913 - if /nonfatal is used a warning should be displayed, not an error
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3069 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
6b3d1d8cd0
commit
71072d7532
1 changed files with 9 additions and 2 deletions
|
@ -3627,8 +3627,15 @@ int CEXEBuild::doCommand(int which_token, LineParser &line)
|
|||
if (tf > 1) PRINTHELP()
|
||||
if (!tf)
|
||||
{
|
||||
ERROR_MSG("%sFile: \"%s\" -> no files found.\n",(which_token == TOK_FILE)?"":"Reserve",line.gettoken_str(a));
|
||||
if (fatal) PRINTHELP()
|
||||
if (fatal)
|
||||
{
|
||||
ERROR_MSG("%sFile: \"%s\" -> no files found.\n",(which_token == TOK_FILE)?"":"Reserve",line.gettoken_str(a));
|
||||
PRINTHELP()
|
||||
}
|
||||
else
|
||||
{
|
||||
warning_fl("%sFile: \"%s\" -> no files found",(which_token == TOK_FILE)?"":"Reserve",line.gettoken_str(a));
|
||||
}
|
||||
}
|
||||
|
||||
return PS_OK;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue