diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2012-08-09 18:30:47 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2012-08-09 18:30:47 +0000 |
commit | 86c37ab542f35902815d0b778129e8db62c35ec5 (patch) | |
tree | 0262a0d47d6dcf2f2336369e37d5b05e6df78429 /package/base-files/files/sbin/sysupgrade | |
parent | f1a4e36531adf2ae9ece443236096c4eebcb16f4 (diff) | |
download | upstream-86c37ab542f35902815d0b778129e8db62c35ec5.tar.gz upstream-86c37ab542f35902815d0b778129e8db62c35ec5.tar.bz2 upstream-86c37ab542f35902815d0b778129e8db62c35ec5.zip |
[package] base-files: fix option parsing of -F/--force parameter
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33075 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/base-files/files/sbin/sysupgrade')
-rwxr-xr-x | package/base-files/files/sbin/sysupgrade | 2 |
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" |