Fail early
This commit is contained in:
parent
b930d66869
commit
696a70c9e0
@ -74,6 +74,7 @@ let
|
|||||||
else
|
else
|
||||||
echo "Failed to run the substition"
|
echo "Failed to run the substition"
|
||||||
rm '${substituted}.tmp'
|
rm '${substituted}.tmp'
|
||||||
|
exit 1
|
||||||
fi
|
fi
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
@ -64,6 +64,7 @@ let
|
|||||||
else
|
else
|
||||||
echo "Failed to decrypt the secret"
|
echo "Failed to decrypt the secret"
|
||||||
rm '${decrypted}.tmp'
|
rm '${decrypted}.tmp'
|
||||||
|
exit 1
|
||||||
fi
|
fi
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user