[Openvas-commits] r3245 - trunk/winslad

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Wed May 6 03:39:04 CEST 2009


Author: doj
Date: 2009-05-06 03:38:56 +0200 (Wed, 06 May 2009)
New Revision: 3245

Modified:
   trunk/winslad/shell.vbs
Log:
do nothing for empty command


Modified: trunk/winslad/shell.vbs
===================================================================
--- trunk/winslad/shell.vbs	2009-05-06 00:25:39 UTC (rev 3244)
+++ trunk/winslad/shell.vbs	2009-05-06 01:38:56 UTC (rev 3245)
@@ -56,7 +56,9 @@
                 WScript.quit
         ElseIf UCase(cmdLine) = "HELP" Then
                 WScript.Echo "you can only start the WinSLAD program via 'sladd' or 'sladd.exe' and"
-                WScript.Echo "at least one argument. Use 'exit' to exit from the restricted shell."
+                WScript.Echo "at least one argument. Use 'exit' to exit from the restricted Shell."
+        ElseIf cmdLine = "" Then
+                ' do nothing for empty command
         Else
                 WScript.Echo "command forbidden"
         End if



More information about the Openvas-commits mailing list