9
1
mirror of https://github.com/QuantumPackage/qp2.git synced 2024-05-29 16:55:18 +02:00

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

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