From a302dbce64a99fe039152b68b54730b1534da4d7 Mon Sep 17 00:00:00 2001 From: jow Date: Thu, 9 Aug 2012 18:30:47 +0000 Subject: [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 --- package/base-files/files/sbin/sysupgrade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package/base-files/files/sbin') diff --git a/package/base-files/files/sbin/sysupgrade b/package/base-files/files/sbin/sysupgrade index 3868dc456..62a4012a3 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" -- cgit v1.2.3