10
0
mirror of https://github.com/QuantumPackage/qp2.git synced 2024-06-02 03:15:34 +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 if [[ $? -eq 0 ]] ; then
COMMAND='qp_$@' COMMAND='qp_$@'
eval "$COMMAND" "${EZFIO_FILE}" eval "$COMMAND" "${EZFIO_FILE}"
result=$?
unset COMMAND unset COMMAND
return $result
else else
_qp_usage _qp_usage
fi fi