From 86893658965e14de31d04998f3c8c13d920d0728 Mon Sep 17 00:00:00 2001 From: Gilles Mouchet Date: Wed, 22 May 2024 00:16:33 +0200 Subject: [PATCH] add check vault_pass file --- inst-raps.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inst-raps.sh b/inst-raps.sh index daf49bb..3d4dcda 100755 --- a/inst-raps.sh +++ b/inst-raps.sh @@ -141,7 +141,7 @@ printSuccess "Date and Time updated successfully" # check /root/ansible/.vault_pass.txt exits #----------------------------------------------------------------------------- printInfo "Check /root/ansible/.vault_pass.txt" -if [ ! -f "/root/ansible/.vault_pass.txt"]; then +if [ ! -f "/root/ansible/.vault_pass.txt" ]; then printError "You must create /root/ansible/.vault_pass.txt" exit fi