From 24a11c92aa24685389f9c347e77eca49c5f4d7d2 Mon Sep 17 00:00:00 2001 From: Renato Botelho Date: Tue, 13 Oct 2015 18:59:21 -0300 Subject: _force must be local --- src/usr/local/sbin/pfSense-upgrade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/usr') 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 -- cgit v1.1