if condition issue

This commit is contained in:
azlux 2016-10-18 00:32:27 +02:00 committed by GitHub
parent aefbdb7c99
commit e54ed85681
1 changed files with 1 additions and 1 deletions

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