Please sign in to comment.
sh: Add test for exit status of for loop without items.
POSIX says the exit status of a for loop without any items shall be 0. There are no exceptions if the exit status of the previous command was not 0 or if the item list contains a command substitution with non-zero exit status. Obtained-from: FreeBSD 226892
- Loading branch information...
Showing with 4 additions and 0 deletions.