sysmngr: fwbank: return failure result if input validation fails

This commit is contained in:
Vivek Kumar Dutta 2025-05-30 13:26:17 +05:30
parent b0d1ada967
commit 87a6852c1a
No known key found for this signature in database
GPG key ID: 4E09F5AD8265FD4C

View file

@ -174,7 +174,7 @@ case "$1" in
# Fail if any of the above sanity checks fail.
[ ${ret} -eq 1 ] && {
echo '{}'
echo "{ \"result\": \"failure\" }"
exit 0
}