From fa8b99189e9f2035a81c8ff8275894b61dc0bce7 Mon Sep 17 00:00:00 2001 From: Rafael Ascensão Date: Tue, 1 May 2018 17:54:04 +0100 Subject: remove unneeded break argument from option parsing MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Some scripts are using `break 2` to break out of the option parsing loop. Since a single `break` is sufficient in these cases, remove the extra argument. Signed-off-by: Rafael Ascensão Signed-off-by: Allan McRae --- scripts/pkgdelta.sh.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/pkgdelta.sh.in') diff --git a/scripts/pkgdelta.sh.in b/scripts/pkgdelta.sh.in index 4500dd75..316d6395 100644 --- a/scripts/pkgdelta.sh.in +++ b/scripts/pkgdelta.sh.in @@ -202,7 +202,7 @@ while :; do shift ;; --) shift - break 2 ;; + break ;; esac shift done -- cgit v1.2.3-24-g4f1b