Skip to content

Commit

Permalink
Bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
jzuhone committed Dec 10, 2021
1 parent 399eacb commit 1f7f7fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/simulate_ecs_run
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ parser.add_argument("--instrument", type=str,
fix_minus_sign = False

argv = sys.argv[1:]
if argv[4].startswith("-"):
if len(argv) >= 5 and argv[4].startswith("-"):
argv[4] = argv[4][1:]
fix_minus_sign = True

Expand Down

0 comments on commit 1f7f7fb

Please sign in to comment.