mirror of https://github.com/azlux/log2ram.git
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…
Reference in New Issue