fix a small typo

SVN-Revision: 12216
This commit is contained in:
Felix Fietkau 2008-08-06 16:13:38 +00:00
parent 6c0474b383
commit 88b0d6785e
1 changed files with 1 additions and 1 deletions

View File

@ -158,7 +158,7 @@ env_delete() {
env_switch() {
local name="${1##*/}"
[ -z "$name" ] && usage
[ -f "$envdir/.git/refs/heads/$name" ] || error "environment '$name' not found"
[ -f "$ENVDIR/.git/refs/heads/$name" ] || error "environment '$name' not found"
env_init
env_ask_sync