Update Containers/redis/start.sh, add quotes

Co-authored-by: Zoey <zoey@z0ey.de>
Signed-off-by: ManOki <ManOki@users.noreply.github.com>
This commit is contained in:
ManOki 2023-01-12 20:32:40 +01:00 committed by GitHub
parent 438a8547b4
commit af165ea504
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,7 +1,7 @@
#!/bin/bash
# Show wiki if vm.overcommit is disabled
if [[ $(sysctl -n vm.overcommit_memory) != "1" ]]; then
if [ "$(sysctl -n vm.overcommit_memory)" != "1" ]; then
echo Memory overcommit is disabled but necessary for safe operation
echo See https://github.com/nextcloud/all-in-one/discussions/1731 how to enable overcommit
fi