summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2015-10-13 18:59:21 -0300
committerRenato Botelho <renato@netgate.com>2015-10-13 18:59:21 -0300
commit24a11c92aa24685389f9c347e77eca49c5f4d7d2 (patch)
treea13f1df496c50f4fc3248a0b3037c45fa66d6a29
parent59dd1f15ec4dbf476ceb2efd0007b47aaaa88fb9 (diff)
downloadpfsense-24a11c92aa24685389f9c347e77eca49c5f4d7d2.zip
pfsense-24a11c92aa24685389f9c347e77eca49c5f4d7d2.tar.gz
_force must be local
-rwxr-xr-xsrc/usr/local/sbin/pfSense-upgrade2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usr/local/sbin/pfSense-upgrade b/src/usr/local/sbin/pfSense-upgrade
index 814d0b6..6f455e2 100755
--- a/src/usr/local/sbin/pfSense-upgrade
+++ b/src/usr/local/sbin/pfSense-upgrade
@@ -203,7 +203,7 @@ pkg_unlock() {
pkg_update() {
local _run_update=1
- unset _force
+ local _force=""
if [ "${1}" = "force" ]; then
local _force=1
fi
OpenPOWER on IntegriCloud