1
0
mirror of https://github.com/azlux/log2ram.git synced 2023-10-10 13:37:24 +02:00

if condition issue

This commit is contained in:
azlux 2016-10-18 00:32:27 +02:00 committed by GitHub
parent aefbdb7c99
commit e54ed85681

View File

@ -11,7 +11,7 @@ case "$1" in
mount --bind $RAM_LOG $HDD_LOG
mount --make-private $HDD_LOG
mount -t tmpfs -o nosuid,noexec,nodev,mode=0755,size=$SIZE log2ram $RAM_LOG
if ["$USE_RSYNC" = true]; then
if [[ "$USE_RSYNC" = true ]]; then
rsync -aXWv --delete --links $HDD_LOG $RAM_LOG
else
cp -rfup $HDD_LOG -T $RAM_LOG