fixed error on file detection
This commit is contained in:
@@ -42,7 +42,7 @@ get_file_secret()
|
||||
{
|
||||
local path="$1" secret
|
||||
|
||||
if [[ -s "$path" ]]; then
|
||||
if [[ ! -s "$path" ]]; then
|
||||
prnt E "get_file_secret: missing secret file"
|
||||
die 10
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user