From b1e1065e4c667eee1c537792ed38d42b8ff54421 Mon Sep 17 00:00:00 2001 From: "kebler.net" Date: Mon, 19 Apr 2021 17:26:32 -0700 Subject: [PATCH] use return not exit to avoid ending an ssh session --- all/app/awscli | 2 +- all/app/bashly | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/all/app/awscli b/all/app/awscli index 637d74e..e48e402 100644 --- a/all/app/awscli +++ b/all/app/awscli @@ -1,5 +1,5 @@ #!/bin/bash -command -v docker >/dev/null 2>&1 || exit +command -v docker >/dev/null 2>&1 || return aws_docker () { local cred diff --git a/all/app/bashly b/all/app/bashly index 7ba02ce..417c153 100644 --- a/all/app/bashly +++ b/all/app/bashly @@ -1,4 +1,4 @@ -command -v docker >/dev/null 2>&1 || exit +command -v docker >/dev/null 2>&1 || return alias bashly='docker run --rm -it --volume "$PWD:/app" dannyben/bashly' alias bashly-update='docker pull dannyben/bashly:latest'