Fix propagation of error codes in qp command

This commit is contained in:
Anthony Scemama 2024-03-05 15:39:57 +01:00
parent 590463063f
commit 92a3ecae45
1 changed files with 2 additions and 0 deletions

View File

@ -120,7 +120,9 @@ function qp()
if [[ $? -eq 0 ]] ; then
COMMAND='qp_$@'
eval "$COMMAND" "${EZFIO_FILE}"
result=$?
unset COMMAND
return $result
else
_qp_usage
fi