From 1cf12a63502b46f6f1dd2314d0b426a5c9132594 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Tue, 13 Apr 2010 14:39:58 +0000 Subject: [PATCH] No need to look for the file if none was entered. --- apps/CA.com | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/CA.com b/apps/CA.com index 02682e424a..69b7bb3fd8 100644 --- a/apps/CA.com +++ b/apps/CA.com @@ -114,8 +114,8 @@ $! $ IF F$SEARCH(CATOP+".private"+CAKEY) .EQS. "" $ THEN $ READ '__INPUT' FILE - - /PROMT="CA certificate filename (or enter to create)" -$ IF F$SEARCH(FILE) .NES. "" + /PROMPT="CA certificate filename (or enter to create)" +$ IF (FILE .NES. "") .AND. (F$SEARCH(FILE) .NES. "") $ THEN $ COPY 'FILE' 'CATOP'.private'CAKEY' $ RET=$STATUS -- 2.25.1