fix auto upgrade

This commit is contained in:
neil 2016-09-21 13:39:39 +08:00
parent e69a7c38d9
commit 319e0ae3cf

View File

@ -3613,8 +3613,11 @@ fi
[ -z "$1" ] && showhelp
main() {
[ -z "$1" ] && showhelp && return
if _startswith "$1" '-' ; then _process "$@"; else "$@";fi
}
if _startswith "$1" '-' ; then _process "$@" ; else "$@"; fi ;
main "$@"