From aefbdb7c991b9c4ffca8b5f9a54c5c7b51f6d299 Mon Sep 17 00:00:00 2001 From: azlux Date: Tue, 18 Oct 2016 00:31:24 +0200 Subject: [PATCH] if condition correction --- log2ram | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/log2ram b/log2ram index e29700e..95e3020 100644 --- a/log2ram +++ b/log2ram @@ -19,7 +19,7 @@ case "$1" in ;; stop) - if ["$USE_RSYNC" = true]; then + if [[ "$USE_RSYNC" = true ]]; then rsync -aXWv --delete --links $RAM_LOG $HDD_LOG else cp -rfup $RAM_LOG -T $HDD_LOG @@ -29,7 +29,7 @@ case "$1" in ;; write) - if ["$USE_RSYNC" = true]; then + if [[ "$USE_RSYNC" = true ]]; then rsync -aXWv --delete --links $RAM_LOG $HDD_LOG else cp -rfup $RAM_LOG -T $HDD_LOG