fixes #200631: firefox -d starts with a convicted monopolist's product page
(actually ff stays in endles loop)
This commit is contained in:
parent
4d330ff93b
commit
e530b2e416
@ -158,8 +158,12 @@ do
|
|||||||
shift
|
shift
|
||||||
;;
|
;;
|
||||||
-d | --debugger)
|
-d | --debugger)
|
||||||
script_args="$script_args -d $2"
|
if [ $# -gt 1 ]; then
|
||||||
shift 2
|
script_args="$script_args -d $2"
|
||||||
|
shift 2
|
||||||
|
else
|
||||||
|
shift
|
||||||
|
fi
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
# Move the unrecognized argument to the end of the list.
|
# Move the unrecognized argument to the end of the list.
|
||||||
|
Loading…
Reference in New Issue
Block a user