mirror of
https://github.com/azlux/log2ram.git
synced 2023-10-10 13:37:24 +02:00
if condition correction
This commit is contained in:
parent
c8c0e1a392
commit
aefbdb7c99
4
log2ram
4
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
|
||||
|
Loading…
Reference in New Issue
Block a user