aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files/sbin
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2012-08-09 18:30:47 +0000
committerJo-Philipp Wich <jow@openwrt.org>2012-08-09 18:30:47 +0000
commit17dc1d5c4412f668f418adcb26efd603277d5566 (patch)
treec97b0b86bbce304078e950f5595443bed77def9f /package/base-files/files/sbin
parentc9d7a96ac819cb81b20b668ae90d8835ba6ec3f1 (diff)
downloadupstream-17dc1d5c4412f668f418adcb26efd603277d5566.tar.gz
upstream-17dc1d5c4412f668f418adcb26efd603277d5566.tar.bz2
upstream-17dc1d5c4412f668f418adcb26efd603277d5566.zip
base-files: fix option parsing of -F/--force parameter
SVN-Revision: 33075
Diffstat (limited to 'package/base-files/files/sbin')
-rwxr-xr-xpackage/base-files/files/sbin/sysupgrade2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/base-files/files/sbin/sysupgrade b/package/base-files/files/sbin/sysupgrade
index 3868dc456e..62a4012a32 100755
--- a/package/base-files/files/sbin/sysupgrade
+++ b/package/base-files/files/sbin/sysupgrade
@@ -25,7 +25,7 @@ while [ -n "$1" ]; do
-c) export SAVE_OVERLAY=1;;
-b|--create-backup) export CONF_BACKUP="$2"; shift;;
-f) export CONF_IMAGE="$2"; shift;;
- -F|--force) export FORCE=1; shift;;
+ -F|--force) export FORCE=1;;
-h|--help) export HELP=1; break;;
-*)
echo "Invalid option: $1"