updated check for record
This commit is contained in:
parent
dd71d955cd
commit
21b29e46c0
|
@ -70,9 +70,9 @@ if [[ -z $type ]]; then
|
|||
exit
|
||||
fi
|
||||
|
||||
# check for content
|
||||
if [[ -z $content ]]; then
|
||||
echo "content is required"
|
||||
# check for record data
|
||||
if [[ -z $record ]]; then
|
||||
echo "record is required"
|
||||
exit
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user