diff --git a/bin/compose b/bin/compose index 5d714f2..adb6141 100755 --- a/bin/compose +++ b/bin/compose @@ -117,7 +117,6 @@ clean_cache() { } -trap_add "EXIT" clean_cache usage="$exname SERVICE"' @@ -2623,8 +2622,13 @@ cached_wget() { } export -f cached_wget + [ "$SOURCED" ] && return 0 + +trap_add "EXIT" clean_cache + + # if [[ "$UID" != 0 ]]; then # die "'$exname' requires root permissions (for now). Please run as root." # fi