From 08f21ff10a8432cc7687ad9f0ffb6c9b63704021 Mon Sep 17 00:00:00 2001 From: Valentin Lab Date: Sun, 25 Nov 2018 22:23:47 +0100 Subject: [PATCH] chg: dev: delete obsolete code !minor --- bin/compose | 6 ------ 1 file changed, 6 deletions(-) diff --git a/bin/compose b/bin/compose index bc80c2c..d559580 100755 --- a/bin/compose +++ b/bin/compose @@ -2698,10 +2698,6 @@ export -f cached_wget trap_add "EXIT" clean_cache -# if [[ "$UID" != 0 ]]; then -# die "'$exname' requires root permissions (for now). Please run as root." -# fi - if [ -z "$DISABLE_SYSTEM_CONFIG_FILE" ]; then if [ -r /etc/default/charm ]; then @@ -2907,8 +2903,6 @@ aexport remainder_args ## Actual code ## -export DOCKER_DATASTORE=${DOCKER_DATASTORE:-/srv/docker-datastore} - COMPOSE_YML_FILE=$(get_compose_yml_location) || exit 1 COMPOSE_YML_CONTENT=$(get_compose_yml_content) || exit 1