mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-14 05:53:59 +00:00
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.
This commit is contained in:
parent
c3274c3579
commit
74fd66fcbe
1 changed files with 1 additions and 1 deletions
|
@ -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!
|
||||
|
|
Loading…
Reference in a new issue