Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

check if mc runs, fix #15

  • Loading branch information...
commit 3e187a350a1b1b2843705d62db71f5fbd4d472e5 1 parent 011d133
yed podtrzitko yedpodtrzitko authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 activate.sh
4 activate.sh
View
@@ -69,7 +69,9 @@ autoenv_check_authz_and_run()
envfile=$1
if autoenv_check_authz "$envfile"; then
source "$envfile"
- else
+ return 0
+ fi
+ if [[ -z $MC_SID ]]; then #make sure mc is not running
autoenv_env
autoenv_env "WARNING:"
autoenv_env "This is the first time you are about to source $envfile":
Please sign in to comment.
Something went wrong with that request. Please try again.