This commit is contained in:
ander 2021-09-14 22:27:42 +03:00
parent 0f6e48dbc6
commit 90488fcebc
No known key found for this signature in database
GPG key ID: 0A2971E562D618F3

View file

@ -7,10 +7,10 @@ else
file="/$__object_id"
fi
if [ -f "$file" ]
if [ ! -e "$file" ]
then
cat "$file"
else
echo "$file do not exist" >&2
exit 1
fi
cat "$file"