From f61deb1586eca73fec2b356212edcabf85e071d1 Mon Sep 17 00:00:00 2001 From: Antoine Jacoutot Date: Thu, 11 Sep 2014 17:35:22 +0200 Subject: [PATCH] Unbreak dry-run. --- openup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openup b/openup index 721616f..80c1007 100755 --- a/openup +++ b/openup @@ -172,7 +172,7 @@ check_openupd() { _CMD="ftp -Vo - ${OPENUP_URL} | awk -F '=' '/^_OPENUP_VERSION/ { print \$2 }'" pr_smallarrow "${_CMD}" _N=$(cmd.exe ${_CMD}) - if [ -z "${_N}" ]; then + if [ -z "${_N}" -a -z "${dryrun}" ]; then pr_error "Cannot retrieve ${OPENUP_URL}" pr_error "Please verify your Internet connection, proxy settings and firewall." bye_bye