Skip to content
This repository was archived by the owner on Apr 22, 2020. It is now read-only.

Commit 0d3076f

Browse files
committed
Fix: Print error mensaje to stderr instead of stdout
1 parent 6e00dd6 commit 0d3076f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

kd.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ fi
3636
command=$1
3737
image=kairops/dc-$command:latest
3838
if [ "$(docker image ls -q $image)" == "" ]; then
39-
docker pull $image > /dev/null 2>&1 || (echo "The Docker Command '$command' does not exist. Aborting"; exit 1)
39+
docker pull $image > /dev/null 2>&1 || (echo_err "The Docker Command '$command' does not exist. Aborting"; exit 1)
4040
fi
4141
shift
4242

0 commit comments

Comments
 (0)