Browse Source

if condition correction

pull/7/head
azlux 8 years ago
committed by GitHub
parent
commit
aefbdb7c99
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      log2ram

+ 2
- 2
log2ram View File

@@ -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


Loading…
Cancel
Save