spogulis no
https://github.com/mail-in-a-box/mailinabox.git
synced 2026-09-11 00:09:00 +02:00
Fixed SC2007: Use $((..)) instead of deprecated $[..].
Šī revīzija ir iekļauta:
revīziju iesūtīja
Joshua Tauberer
vecāks
27cf11d8ec
revīzija
2afd0451c1
@@ -61,7 +61,7 @@ then
|
|||||||
|
|
||||||
# Allocate and activate the swap file. Allocate in 1KB chuncks
|
# Allocate and activate the swap file. Allocate in 1KB chuncks
|
||||||
# doing it in one go, could fail on low memory systems
|
# doing it in one go, could fail on low memory systems
|
||||||
dd if=/dev/zero of=/swapfile bs=1024 count=$[1024*1024] status=none
|
dd if=/dev/zero of=/swapfile bs=1024 count=$((1024*1024)) status=none
|
||||||
if [ -e /swapfile ]; then
|
if [ -e /swapfile ]; then
|
||||||
chmod 600 /swapfile
|
chmod 600 /swapfile
|
||||||
hide_output mkswap /swapfile
|
hide_output mkswap /swapfile
|
||||||
|
|||||||
Atsaukties uz šo jaunā problēmā
Block a user