mirror of
https://github.com/azlux/log2ram.git
synced 2023-10-10 13:37:24 +02:00
Update log2ram
Fix quoting
This commit is contained in:
parent
1ada2916d7
commit
fe281aaaf9
2
log2ram
2
log2ram
@ -29,7 +29,7 @@ syncFromDisk () {
|
|||||||
isSafe
|
isSafe
|
||||||
|
|
||||||
if [ -n "$(du -sh -t "$SIZE" $HDD_LOG/ | cut -f1)" ]; then
|
if [ -n "$(du -sh -t "$SIZE" $HDD_LOG/ | cut -f1)" ]; then
|
||||||
echo 'ERROR: RAM disk too small. Can\'t sync.'
|
echo "ERROR: RAM disk too small. Can't sync."
|
||||||
umount -l $RAM_LOG/
|
umount -l $RAM_LOG/
|
||||||
umount -l $HDD_LOG/
|
umount -l $HDD_LOG/
|
||||||
if [ "$MAIL" = true ]; then
|
if [ "$MAIL" = true ]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user