If -Exists returns error

  • 7009623
  • 24-Oct-2011
  • 26-Apr-2012

Environment

Novell SecureLogin
NSL7SP2
Scripting commands documentation

Situation

The documentation shows the following:
If -Exist|-NotExist <Variable>
#Do This
[Else]
#Do This
EndIf


The"-Exist"command returns an exception. However,"-Exists"(with an "s" ) works fine.
"-NotExist"works as documented.

Resolution

Use
If -Exists

instead of
 
If -Exist

Status

Reported to Engineering