From 74fd66fcbe435f36429c293c10804541322a6ca4 Mon Sep 17 00:00:00 2001 From: ridiculousfish Date: Sun, 23 Oct 2022 13:42:53 -0700 Subject: [PATCH] Use -- before seq for negative numbers busybox seq was complaining about the command: seq -550 -1 because it was trying to interpret -550 as a flag. Use -- to prevent this. --- tests/checks/return.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/checks/return.fish b/tests/checks/return.fish index 9c2d7a4c5..299051e38 100644 --- a/tests/checks/return.fish +++ b/tests/checks/return.fish @@ -26,7 +26,7 @@ function empty_return return $argv[1] end -for i in (seq -550 -1) +for i in (seq -- -550 -1) empty_return $i if test $status -eq 0 echo returning $i from a fish script maps to a $status of 0!