mirror of https://github.com/hak5/openwrt-owl.git
parent
6c0474b383
commit
88b0d6785e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue