forked from mirrors/openup
Unbreak dry-run.
This commit is contained in:
parent
570bdbeb49
commit
f61deb1586
1 changed files with 1 additions and 1 deletions
2
openup
2
openup
|
|
@ -172,7 +172,7 @@ check_openupd() {
|
||||||
_CMD="ftp -Vo - ${OPENUP_URL} | awk -F '=' '/^_OPENUP_VERSION/ { print \$2 }'"
|
_CMD="ftp -Vo - ${OPENUP_URL} | awk -F '=' '/^_OPENUP_VERSION/ { print \$2 }'"
|
||||||
pr_smallarrow "${_CMD}"
|
pr_smallarrow "${_CMD}"
|
||||||
_N=$(cmd.exe ${_CMD})
|
_N=$(cmd.exe ${_CMD})
|
||||||
if [ -z "${_N}" ]; then
|
if [ -z "${_N}" -a -z "${dryrun}" ]; then
|
||||||
pr_error "Cannot retrieve ${OPENUP_URL}"
|
pr_error "Cannot retrieve ${OPENUP_URL}"
|
||||||
pr_error "Please verify your Internet connection, proxy settings and firewall."
|
pr_error "Please verify your Internet connection, proxy settings and firewall."
|
||||||
bye_bye
|
bye_bye
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue