fixed error on file detection

This commit is contained in:
2025-09-24 17:00:56 +02:00
parent ccc973c5ef
commit 90be985777

View File

@@ -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