fix: always fetch when image is set
This commit is contained in:
parent
2d7807ea60
commit
50fc142407
2
enter.sh
2
enter.sh
@ -49,7 +49,7 @@ fetch=false
|
|||||||
|
|
||||||
while test $# -gt 0; do
|
while test $# -gt 0; do
|
||||||
case "$1" in
|
case "$1" in
|
||||||
--image | -i) shift && image="$1" ;;
|
--image | -i) shift && fetch=true && image="$1" ;;
|
||||||
--fetch | -f) fetch=true ;;
|
--fetch | -f) fetch=true ;;
|
||||||
-*) log "unknown argument '$1'" 'x' 31 ;;
|
-*) log "unknown argument '$1'" 'x' 31 ;;
|
||||||
*) name="$1" ;;
|
*) name="$1" ;;
|
||||||
|
Loading…
Reference in New Issue
Block a user