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