From 5e52834eae13dd998cf866e6a086b0dd72ac18f7 Mon Sep 17 00:00:00 2001 From: f Date: Tue, 5 Oct 2021 21:05:23 -0300 Subject: [PATCH 1/2] devolver el status de salida de hainish MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit como el Ășltimo comando era ssh-agent, salĂ­amos con el status incorrecto --- haini.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/haini.sh b/haini.sh index 6653eb9..d49ef2a 100755 --- a/haini.sh +++ b/haini.sh @@ -246,7 +246,9 @@ else fi crear_entorno - stdin=/dev/stdin correr "${*:-$DEFAULT}" + stdin=/dev/stdin correr "${*:-$DEFAULT}" ; salida=$? ${SSH_ADHOC} && ssh-agent -k + + exit $salida fi From 6762ee539476eca53ebb50da9347574bba896a20 Mon Sep 17 00:00:00 2001 From: f Date: Thu, 18 Nov 2021 12:19:44 -0300 Subject: [PATCH 2/2] =?UTF-8?q?el=20.pem=20estaba=20de=20m=C3=A1s?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- haini.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/haini.sh b/haini.sh index d49ef2a..0c3b2ce 100755 --- a/haini.sh +++ b/haini.sh @@ -116,7 +116,7 @@ generar_certificado() { -keyout $domain_key -out $domain_csr \ -subj '/C=AR/ST=Ninguno/L=Interdimension/O=Sutty-Local/CN=sutty.local'" correr "openssl x509 -req -sha256 -days 3650 \ - -in $domain_csr -CA $ca_crt.pem -CAkey $ca_key \ + -in $domain_csr -CA $ca_crt -CAkey $ca_key \ -CAcreateserial -extfile /Sutty/haini.sh/domains.ext -out $domain_crt" rm "$ENTORNO$ca_crt.pem"