diff options
author | Tor Egge <Tor.Egge@oath.com> | 2018-03-13 15:04:54 +0000 |
---|---|---|
committer | Tor Egge <Tor.Egge@oath.com> | 2018-03-13 15:11:13 +0000 |
commit | 319ed3f9435d1dc4d530f0e3ae4ff4df66185411 (patch) | |
tree | 26486ef0ebbe63f1cae7d4e1891e6569eb285fd4 /vespabase/src/common-env.sh | |
parent | 410933939a74e42874dd580bfe0051b3222185a5 (diff) |
Change new tests to use square bracket style.
Collapse nested if statements.
Diffstat (limited to 'vespabase/src/common-env.sh')
-rwxr-xr-x | vespabase/src/common-env.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vespabase/src/common-env.sh b/vespabase/src/common-env.sh index 550e902cb55..8dfcf8d2c4c 100755 --- a/vespabase/src/common-env.sh +++ b/vespabase/src/common-env.sh @@ -146,7 +146,7 @@ consider_fallback VESPA_USE_NO_VESPAMALLOC $(get_var "no_vespamalloc_list") fixlimits () { # Cannot bump limits when not root (for testing) - if test "${VESPA_UNPRIVILEGED}" = yes; then + if [ "${VESPA_UNPRIVILEGED}" = yes ]; then return 0 fi # number of open files: |