diff options
Diffstat (limited to 'gradlew')
-rwxr-xr-x | gradlew | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -144,7 +144,7 @@ if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then | |||
144 | case $MAX_FD in #( | 144 | case $MAX_FD in #( |
145 | max*) | 145 | max*) |
146 | # In POSIX sh, ulimit -H is undefined. That's why the result is checked to see if it worked. | 146 | # In POSIX sh, ulimit -H is undefined. That's why the result is checked to see if it worked. |
147 | # shellcheck disable=SC3045 | 147 | # shellcheck disable=SC3045 |
148 | MAX_FD=$( ulimit -H -n ) || | 148 | MAX_FD=$( ulimit -H -n ) || |
149 | warn "Could not query maximum file descriptor limit" | 149 | warn "Could not query maximum file descriptor limit" |
150 | esac | 150 | esac |
@@ -152,7 +152,7 @@ if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then | |||
152 | '' | soft) :;; #( | 152 | '' | soft) :;; #( |
153 | *) | 153 | *) |
154 | # In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked. | 154 | # In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked. |
155 | # shellcheck disable=SC3045 | 155 | # shellcheck disable=SC3045 |
156 | ulimit -n "$MAX_FD" || | 156 | ulimit -n "$MAX_FD" || |
157 | warn "Could not set maximum file descriptor limit to $MAX_FD" | 157 | warn "Could not set maximum file descriptor limit to $MAX_FD" |
158 | esac | 158 | esac |